Sign in Join
FPDoc Onlineexperiment

TUserCheckBoxBitmapEvent procedure type

In unit Grids

Specifies an event handler signalled to get the user-supplied bitmap for a check box cell.

Declaration

pascal
TUserCheckBoxBitmapEvent = procedure(Sender: TObject; 
 const aCol: Integer; 
 const aRow: Integer; 
 const CheckedState: TCheckboxState; 
 var ABitmap: TBitmap) of object

Arguments

Sender

Object (TCustomGrid) for the event notification.

aCol

Column number for the cell with the check box.

aRow

Row number for the cell with the check box.

CheckedState

Checked state for the check box.

ABitmap

Bitmap image with the state needed for the check box cell.

Description

TUserCheckBoxBitmapEvent is the type used for the OnUserCheckboxBitmap property in TCustomGrid.

See also

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