Sign in Join
FPDoc Onlineexperiment

TCustomGrid.LoadGridOptions procedure

Member of TCustomGridprotectedIn unit Grids

Loads design-time values for the Options in a grid from an XML configuration file.

Declaration

pascal
procedure LoadGridOptions(cfg: TXMLConfig; Version: Integer); virtual

Arguments

cfg

XML configuration file instance examined in the method.

Version

LCL version for the grid option data.

Description

LoadGridOptions is method used to load value for the Options and Options2 properties from the XML configuration file specified in cfg.

Design-time settings for the grid control are loaded from the XML file when soDesign is included in the SaveOptions property and the XML file includes the corresponding values. LoadGridOptions reads the enumeration values for both properties from the XML configuration file and stores the set types to the Options and Options2 properties.

LoadGridOptions is called during execution of the LoadContent method.

See also

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