Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.OnUserCheckboxState property

Member of TCustomDBGridprotectedIn unit DBGrids

Event handler signalled to get a user-specified value for a check box editor on the grid control.

Declaration

pascal
property OnUserCheckboxState: TDbGridCheckboxStateEvent read FOnCheckboxState write FOnCheckboxState;

Description

OnUserCheckboxState is a TDbGridCheckboxStateEvent property with the event handler signalled to get the checked state for a check box cell on the grid control. Arguments to the handler include the grid control and the TCheckboxState value which can be updated in the routine. Implement and assign a handler routine to the property to respond to the event notification.

OnUserCheckboxState is signalled (when assigned) from the DrawCheckboxBitmaps method. It occurs after the initial value has been assigned for the AState argument. It occurs before DrawGridCheckboxBitmaps is called to draw the check box using the value in AState.

See also

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