TCustomGrid.DoLoadColumn procedure
Signals the OnLoadColumn event handler for the grid control (when assigned).
Declaration
procedure DoLoadColumn(Sender: TCustomGrid; aColumn: TGridColumn;
aColIndex: Integer; aCfg: TXMLConfig;
aVersion: Integer; aPath: string); virtualArguments
Sender | Object (TCustomGrid) for the event notification. |
aColumn | Grid column definition for the event. |
aColIndex | Ordinal position for the column. |
aCfg | XML configuration file with the design-time information for the columns in the grid. |
aVersion | Version number for the streaming format used in the configuration file. |
aPath | XPath-like expression where the column information is stored. |
Description
DoLoadColumn is a method used to signal the
OnLoadColumn event handler (when assigned) to load a column from
an external XML configuration file. DoLoadColumn is called from the private
LoadColumns method, and occurs immediately after a TColumn instance has been
created, initialized, and added to the
Columns collection. The
event handler can be used to override or augment the values loaded from the
XML storage into the TColumn instance.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
