[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TGridSaveOptions

Represents the save options available for LCL grid controls.

Declaration

Source position: grids.pas line 130

type TGridSaveOptions = (

  soDesign,

  

Enables saving grid structure (col / row count and Options).

  soAttributes,

  

Enables saving grid attributes (Font, Brush, TextStyle).

  soContent,

  

Enables saving Grid content (Text in TStringGrid).

  soPosition

  

Enables saving the Grid cursor and selection position.

);

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

TCustomGrid.SaveOptions

  

Options which control the information saved and loaded for the grid control.

TCustomGrid.SaveContent

  

Saves design-time configuration, column and row settings, and data to the specified XML configuration file.

TSaveOptions

  

Set type used to store TGridSaveOptions values.


Version 3.2 Generated 2024-02-25 Home