Sign in Join
FPDoc Onlineexperiment

TCustomGrid.OnUserCheckboxBitmap property

Member of TCustomGridprotectedIn unit Grids

Event handler signalled to get the user-defined bitmap used for a check box cell.

Declaration

pascal
property OnUserCheckboxBitmap: TUserCheckBoxBitmapEvent read FOnUserCheckboxBitmap write FOnUserCheckboxBitmap;

Description

OnUserCheckboxBitmap is a TUserCheckboxBitmapEvent property with the event handler used to get the user-specified bitmap drawn for check box cell on the control. It is signalled from the GetImageForCheckBox method (when assigned) with the control, column, row, and check box state for the cell. Use the Bitmap argument to return the bitmap image provided in the event handler routine.

Use the OnUserCheckboxImage to retrieve an image list and index position with the graphical representation for a specific check box state.

See also

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