1. IDE Bug

Judith,

When creating my .exw file, the IDE is inserting multiple instances of the
following line:

sequence IDEFlags

which causes an error in the interpreter (redefining IDEFlags).

I thought that somehow if I made all the windows have the same style that
would take care of the problem but obviously not so.

Any ideas?  Am I doing something wrong?

Thanks,

Jonas

new topic     » topic index » view message » categorize

2. Re: IDE Bug

Jonas Temple wrote:
> 
> Judith,
> 
> When creating my .exw file, the IDE is inserting multiple instances of the
> following line:
> 
> sequence IDEFlags
> 
> which causes an error in the interpreter (redefining IDEFlags).
> 
> I thought that somehow if I made all the windows have the same style that
> would take care of the problem but obviously not so.
> 
> Any ideas?  Am I doing something wrong?
> 
> Thanks,
> 
> Jonas
>

Another little bug.

In IDE_proj.ew in routine writeControlToExw there are these statements:

    if find( ctrl[Class], {"Window","CWindow"} )
    and length( ctrl[CCWinStyle] ) then
        puts(outFile, "sequence IDEFlags\n" )
puts(outFile, "IDEFlags = classDefaults( Window, {{CCwinstyle,{" &
        ctrl[CCWinStyle] & "}}})\n" )
        usedIDEFlags=True
        usedCCWinStyle=True
        lineCount+=2
        makeNameEventLine( windowNumber, ctrl[Name], "create", lineCount )
    end if

It should be:
 if find( ctrl[Class], {"Window","CWindow"} )
        and length( ctrl[CCWinStyle] ) then
        if not usedIDEFlags then
            puts(outFile, "sequence IDEFlags\n" )
        end if
puts(outFile, "IDEFlags = classDefaults( Window, {{CCwinstyle,{" &
        ctrl[CCWinStyle] & "}}})\n" )
        usedIDEFlags=True
        usedCCWinStyle=True
        lineCount+=2
        makeNameEventLine( windowNumber, ctrl[Name], "create", lineCount )
    end if

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu