[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Saves grid information to the specified stream.
Source position: grids.pas line 1344
public procedure TCustomGrid.SaveToStream( |
AStream: TStream |
); virtual; |
AStream |
|
TStream instance where grid information is stored. |
SaveToStream is a method used to store information from the grid control to the TStream instance specified in AStream. SaveToStream creates a TXMLConfig class instance that is used to capture the layout, cell display settings, grid options, and range selections for the control.
SaveToStream calls the SaveContent method to generate the XML content for the grid control. The XML content is written to AStream using the WriteToStream method in TXMLConfig.
Use LoadFromStream to read the grid information stored in the stream.
|
Saves design-time configuration, column, and row settings to an XML file. |
|
|
Saves grid options to the specified XML configuration file. |
|
|
Loads grid data from the specified stream. |
|
TXMLConfig.WriteToStream |
lazarus-ccr.sourceforge.net |