TTMSFNCDataGridCore.LoadSettingsFromFile Method
Restores grid settings from a file written by SaveSettingsToFile.
API unit family: TMSFNCDataGridCore
Declaring type: TTMSFNCDataGridCore
Syntax
procedure LoadSettingsFromFile(AFileName: string); virtual;
virtual void __fastcall LoadSettingsFromFile(System::UnicodeString AFileName);
Remarks
Loading runs inside a BeginUpdate/EndUpdate pair, so the layout is recalculated once. Individual properties can be skipped through OnCanLoadProperty. File and format errors raised by the persistence layer are not caught.
Parameters
| Name | Description |
|---|---|
AFileName |
Path of the settings file. |