Sign in Join
FPDoc Onlineexperiment

TGridSaveOptions enumeration

In unit Grids

Represents the save options available for LCL grid controls.

Declaration

pascal
TGridSaveOptions = (soDesign,soAttributes,soContent,soPosition)

Description

TGridSaveOptions is an enumerated type with values for the save options that can be enabled for the TCustomGrid control and its descendants.

TGridSaveOptions values are stored in the TSaveOptions set type, and used to implement the SaveOptions property in TCustomGrid. When a value is present in the set, it indicates that the option is enabled, and causes the affected properties to be stored in the SaveContent method for the grid control.

See also

Values

soDesignEnables saving grid structure (col / row count and Options).
soAttributesEnables saving grid attributes (Font, Brush, TextStyle).
soContentEnables saving Grid content (Text in TStringGrid).
soPositionEnables saving the Grid cursor and selection position.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.