TCustomDrawGrid.SaveOptions property
Options which control the information saved and loaded for the grid control.
Declaration
property SaveOptions:;Description
SaveOptions is a
TSaveOptions property with the set of
options enabled when saving values in the grid to a file or stream. The
options indicate whether design-time information, column attributes, cell
content and positions are included in the values save for the grid control.
The TSaveOption values included in or excluded from the property affect the
following:
- soDesign
- Design-time information for the control, including: column count, row count, number of fixed columns and rows, default column width, default row width and height, color, column definitions (when enabled in the control), and row heights with non-default values. Also includes the settings in the Options and Options2 properties for the control.
- soPosition
- Run-time values for the top and left coordinates for the grid, and the current column and row number.
- soRangeSelect
- Requires the soPosition option. Stores the left, top, bottom, and right coordinates for the range in the Selection property.
- soContent
- Stores the UTF-8-encoded text for each of the cells in the grid control.
The default values in SaveOptions are not assigned in TCustomGrid, and must be provided in a descendent class like TCustomStringGrid.
SaveOptions also determines the data available and processed when loading grid information in the LoadFromFile or LoadFromStream methods.
This description is the one of Grids.TCustomGrid.SaveOptions.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
