TIDEEngine.CreateMainUnits Method
Creates the initial script units needed for a blank project that runs an empty form.
Remarks
Creates all needed units for a blank project to run an empty form. In summary it creates a file with a script and a form, creates another file with a script and makes it the main unit of the project, and add code to the main unit to automatically create and show the form. The language of the scripts must be specified by ALanguage parameter.
Syntax
Unit: IDEMain
procedure TIDEEngine.CreateMainUnits(ALanguage: TScriptLanguage);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ALanguage | TScriptLanguage |