Code Generation flags

Started by Jean-pierre Leroy, November 14, 2009, 04:46:44 PM

Previous topic - Next topic

Jean-pierre Leroy

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



Paul Squires

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,
Paul Squires
PlanetSquires Software

Haakon Birkeland

Weird, I just had the same thought earlier today. They do belong in the Project Properties.
Haakon 8o)

Paul Squires

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.
Paul Squires
PlanetSquires Software

Haakon Birkeland

Should be a perfectly sensible change, especially for the XP theme setting.
Haakon 8o)

Jean-pierre Leroy

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

Paul Squires

The default values for new projects will now always be:

Themes = %TRUE
Admin Privileges = %FALSE.
Delete Code Generation = %FALSE
Paul Squires
PlanetSquires Software

Haakon Birkeland

Make that INI-file based, so we can tweak the defaults. 8o)
Haakon 8o)