TCustomDrawGrid.OnSetCheckboxState property
Event handler signalled to set the state for a check box cell.
Declaration
property OnSetCheckboxState: TSetCheckboxStateEvent read FOnSetCheckboxState write FOnSetCheckboxState;Description
OnSetCheckboxState is a
TSetCheckboxStateEvent property
with the event handler signalled to set the state for a check box cell. The
ACol and
ARow parameters contain the position for the
cell.
Value contains the
TCheckBoxState value stored in
the cell.
OnSetCheckboxState provides the only mechanism to set the state value for a
check box cell in TCustomDrawGrid / TDrawGrid. This
differs from TCustomStringGrid / TStringGrid, where the
TGridColumn instance in Columns can is used (when enabled) to get
the checked or unchecked value and determine the state value stored in the
cell. This approach can be implemented in the event handler; it is not
provided by default.
OnSetCheckboxState is signalled (when assigned) from the SetCheckBoxState method.
Use OnGetCheckboxState to get the state for the check box cell.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
