TatScriptRefactor.UpdateFormHeader Method
Creates or updates the $FORM directive in the script source with the specified form class name and file name.
Remarks
Create (or update) the FORM directive in the script giving the AFormClass (form class name) and AFileName (form file name). For example, the code below.
UpdateFormHeader('TMyForm', 'myform.dfm');
will create (or update) the form directive in the script as following (in this case, the example is in Basic syntax).
#FORM TMyForm, myform.dfm
Syntax
Unit: atScript
procedure TatScriptRefactor.UpdateFormHeader(AFormClass: string; AFileName: string); virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AFormClass | string | ||
| AFileName | string |