Sign in Join
FPDoc Onlineexperiment

THeaderSizingEvent procedure type

In unit Grids

Specifies an event handler signalled when a fixed cell header in a grid is resized.

Declaration

pascal
THeaderSizingEvent = procedure(Sender: TObject; 
 const IsColumn: Boolean; 
 const aIndex: Integer; 
 const aSize: Integer) of object

Arguments

Sender

Grid control for the event notification.

IsColumnTrue when the affected cell is a column header; False when it is a row header.
aIndex

Position of the row or column in the grid control.

aSize

Size (in pixels) for the resized cell.

Description

THeaderSizingEvent specifies an event handler signalled when a fixed cell header in a grid is resized. Arguments passed to the event handler identify the grid control for the event, and information the row or column affected by the operation.

THeaderSizingEvent is the type used to implement the OnHeaderSizing property in TCustomDrawGrid. Applications must implement an object procedure using the signature for the event to allow responding to the event notification.

See also

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