PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-pierre Leroy on November 14, 2009, 04:46:44 PM

Title: Code Generation flags
Post by: Jean-pierre Leroy on November 14, 2009, 04:46:44 PM
Hi Paul,

I made some tests and it seems that both flags below in the "Code Generation" form of the "Environment Options" Windows:

- "Delete generated code after compile"
and
- "Enable WinXP Theme support"

... depend on the loaded project.

Could it be a solution to add these two parameters directly in the "Project Properties" and keep the values in the "Code Generation" form of the "Environment Options" Windows as the default values for the new projects ?

Jean-Pierre


Title: Re: Code Generation flags
Post by: Paul Squires on November 14, 2009, 05:38:09 PM
Hi Jean-Pierre,

Those properties were supposed to be global to all projects that the user created, however, at some point during beta testing we decided to allow the properties to apply on a project by project basis (I think Roger Garstang suggested this).

It would make more sense to have those options on the Project Properties dialog,
Title: Re: Code Generation flags
Post by: Haakon Birkeland on November 14, 2009, 06:12:02 PM
Weird, I just had the same thought earlier today. They do belong in the Project Properties.
Title: Re: Code Generation flags
Post by: Paul Squires on November 15, 2009, 03:33:42 PM
Theme Support and Delete Generated Code has now been moved to the Project Properties dialog. This enables me to remove the Code Generation option branch from "Environment Options".

Fix will be in v3.04.
Title: Re: Code Generation flags
Post by: Haakon Birkeland on November 15, 2009, 06:11:43 PM
Should be a perfectly sensible change, especially for the XP theme setting.
Title: Re: Code Generation flags
Post by: Jean-pierre Leroy on November 15, 2009, 06:14:42 PM
QuoteThis enables me to remove the Code Generation option branch from "Environment Options".

Unless you want to keep them as default value for the creation of new projects.

Jean-Pierre
Title: Re: Code Generation flags
Post by: Paul Squires on November 15, 2009, 06:27:26 PM
The default values for new projects will now always be:

Themes = %TRUE
Admin Privileges = %FALSE.
Delete Code Generation = %FALSE
Title: Re: Code Generation flags
Post by: Haakon Birkeland on November 15, 2009, 06:29:05 PM
Make that INI-file based, so we can tweak the defaults. 8o)