TcxCustomScheduler.StoreToIniFile(string,Boolean,Boolean) Method
Saves the scheduler control’s layout scheme in an INI file.
Declaration
procedure StoreToIniFile(const AStorageName: string; AReCreate: Boolean = True; AStoreResources: Boolean = True);
Parameters
Name | Type |
---|---|
AStorageName | string |
AReCreate | Boolean |
AStoreResources | Boolean |
Remarks
Use the StoreToIniFile method to persist the scheduler control’s layout across multiple sessions. A persistent storage for the scheduler control’s layout is the AStorageName file.
The AStorageName parameter specifies the INI file where the scheduler control’s layout is stored.
The AReCreate parameter specifies whether the INI file will be overwritten. Set the AReCreate parameter to False to store multiple layouts in a single file.
The AStoreResources parameter specifies whether to store the resources’ layout. Set the AStoreResources parameter to True to persist the resources’ layout.
To restore the layout saved to the file use the RestoreFromIniFile method.
Note
this method saves the layout set by the end-user. If layout changes (that can also be performed by end-users through the user interface) are made programmatically they are also stored in the AStorageName file.