1. RE: Problems with IDE

daryl_vdb at HOTMAIL.COM wrote:
> Judith,
> 
> I have associated prj files with the IDE.  This worked with the previous 
> 
> version, but with the new version it says that it can't find ide.cfg.  
> My 
> guess is that the IDE is looking in the current directory, which is the 
> directory with the .prj cild in it, when it should be looking in the ide 
> 
> directory.  The previous version did the same thing, but created an 
> ide.cgf 
> file in the current directory (which was annoying).

Ok, I'll check this out. I set the_current_dir as soon as IDE opens 
without thinking that the associated prj file would change IDE to its 
directory.

> 
> For reasons that aren't clear to me, the IDE is declaring all controls 
> as 
> global constants, when I think they should be declared as local 
> constants.  
> I am making a program that contains many IDE-generated include files, 
> and 
> the control names are conflicting.  I can't see any need for accessing a 
> 
> control from another file directly.  The reason I split the program into 
> 
> separate files is so that I wouldn't have any name conflicts.  I tried 
> to 
> fix this problem, but the IDE source code is huge and I didn't know 
> where to 
> look.

I generate the EXW in IDE_proj.ew. Just do a search on "create". There 
are several places you need to make your change.

> I think that there should be an option (a control property) that 
> determines whether a control will be global.  The default should be 
> local.

There is an existing request that the output EXW be split into seperate 
.ew files per window and to allow the user to specify local or global. 
While I am not ready to create seperate .ew files, I am in the next 
release, allowing the user to specify local or global per control in 
Properties. The default will be global so as not to break existing prj 
files.

 
> For now, I have to edit the exw (or ew) file manually. :(

There might always be a need to edit the exw file for some situations.

> 
> By the way, the IDE is a really cool tool, I use it all the time.

Thanks.

>  Keep up the good work.
> 
> regards,
> Daryl  van den Brink
> 
> 
>

new topic     » topic index » view message » categorize

2. RE: Problems with IDE

Judith wrote:
> 
> daryl_vdb at HOTMAIL.COM wrote:
> > Judith,
> > 

 SNIP

> > For reasons that aren't clear to me, the IDE is declaring all controls 
> > as 
> > global constants, when I think they should be declared as local 
> > constants.  

> > I think that there should be an option (a control property) that 
> > determines whether a control will be global.  The default should be 
> > local.
> 
> There is an existing request that the output EXW be split into seperate 
> .ew files per window and to allow the user to specify local or global. 
> While I am not ready to create seperate .ew files, I am in the next 
> release, allowing the user to specify local or global per control in 
> Properties. The default will be global so as not to break existing prj 
> files.
> 
>  


Upon more thought, I decided to change the local/global constant create 
routine i the next IDE release to work this way: There will be an 
IDE.cfg entry that indicates that controls when added to a project 
default to global or local. Global is the default unless user changes to 
local. The routines I added in Properties will override the local/global 
on a control by control basis. This allows those folks wanting mostly 
local controls to do less keying in Properties.

If anyone has more input on this issue, now is the time to speak up.

thanks,

Judith
> > regards,
> > Daryl  van den Brink
> > 
> > 
> > 
> 
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu