TAdvCustomFormDesigner.LoadFromDFM Method
Loads the form from a file.
Remarks
This method loads the form from a file. All existing controls in the form will be deleted, unless ClearBeforeLoad property is set to false.
Syntax
Unit: FormDesigner
procedure TAdvCustomFormDesigner.LoadFromDFM(FileName: string; DFMFormat: TDFMFormat);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| FileName | string | The name of the file to loaded. |
|
| DFMFormat | TDFMFormat | Indicates the file format, binary or text. |