Sign in Join
FPDoc Onlineexperiment

TCustomGrid.OnUserCheckboxImage property

Member of TCustomGridprotectedIn unit Grids

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

Declaration

pascal
property OnUserCheckboxImage: TUserCheckBoxImageEvent read FOnUserCheckboxImage write FOnUserCheckboxImage;

Description

OnUserCheckboxImage is a TUserCheckBoxImageEvent property with the event handler signalled to get a user-specified image list and index position for a check box cell with a give state. It is signalled from the GetImageForCheckBox method (when assigned) with the control, column, row, and check box state for the cell. Use the ImageList and ImageIndex arguments to return the image and position provided in the event handler routine.

Use the OnUserCheckboxBitmap event handler to get the check box image as a TBitmap type.

See also

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