TcxCustomScheduler.StoreToStream(TStream,Boolean) Method
Saves the scheduler control’s layout scheme in the AStream stream.
Declaration
procedure StoreToStream(AStream: TStream; AStoreResources: Boolean = True);
Parameters
Name | Type |
---|---|
AStream | TStream |
AStoreResources | Boolean |
Remarks
Use the StoreToStream method to store the scheduler control’s layout. The StoreToStream method provides flexibility in that a wide range of storage devices can be used as the storage via an AStream instance of the TStream class.
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 in the stream use the RestoreFromStream method.
Note
this method saves the layout set by the 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 AStream stream.
See Also