Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DoSaveColumn procedure

Member of TCustomGridprotectedIn unit Grids

Signals the OnSaveColumn event handler for the grid control (when assigned).

Declaration

pascal
procedure DoSaveColumn(Sender: TCustomGrid; aColumn: TGridColumn; 
 aColIndex: Integer; aCfg: TXMLConfig; 
 aVersion: Integer; aPath: string); virtual

Description

DoSaveColumn is a method used to signal the OnSaveColumn event handler (when assigned) when a column definition is saved to an external XML configuration file.

DoSaveColumn is called from the private SaveColumns method, and occurs immediately after a TColumn instance in the Columns collection is written to the XML storage. It is also called from the SaveContent method when the Columns collection has not been enabled in the control.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.