Re: IDE Bug
- Posted by Judith Evans <camping at txcyber.com> Jul 02, 2004
- 478 views
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