Compile Delphi Action and UseProjectSettings option

Hello,

I'm using FB 7.0. I want to set option: Load Settings from project File (Version Information) for the Build Delphi Win32 Project action. In script editor I have found action property: UseProjectSettings but it is not described in the help topic. Is it correct property for this purpose? How to use it?


best regards

Adam Siwoń

Hi Adam,

The latest official release has been updated to allow the UseProjectSettings property to be set from script, here is an example on how to use it in Javascript:

// Enable loading both Compiler and Directories settings from project file
Action.UseProjectSettings = usCompiler | usDirectories;

Download the latest release from:
https://www.finalbuilder.com/download.aspx

Regards,
Paul.

Hi Paul,

The latest official release has been updated to allow the UseProjectSettings property to be set from script, here is an example on how to use it in Javascript:


Ok. I have this version.

// Enable loading both Compiler and Directories settings from project file
Action.UseProjectSettings = usCompiler | usDirectories;


But I need to set the Version Information from project settings. So I should set usVersionInformation value or this is impossible?

best regards
Adam Siwoń

Hi Adam,

Sorry I should of mentioned all the possible values;

usPackages
usCompiler
usLinker
usDirectories
usVersionInfo

Pressing Ctrl-Space should bring up the auto-completion window and show you the possible values.

Regards,
Paul.