[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TCustomGrid.OnUserCheckboxBitmap

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

## Declaration

Source position: grids.pas line 1316

`protected property TCustomGrid.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

TCustomGrid.GetImageForCheckBox |  | Gets the bitmap used to draw check box columns in the grid.
TCustomGrid.OnUserCheckBoxImage |  | Event handler signalled to get the user-defined image used for a check box cell.
TCustomGrid.DrawGridCheckboxBitmaps |  | Draws a check box bitmap which represents the given state in a cell.
TUserCheckboxBitmapEvent |  | Specifies an event handler signalled to get the user-supplied bitmap for a check box cell.