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

TCustomGrid.OnUserCheckboxImage

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

Declaration

Source position: grids.pas line 1316

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

TCustomGrid.GetImageForCheckBox

  

Gets the bitmap used to draw check box columns in the grid.

TCustomGrid.OnUserCheckBoxBitmap

  

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

TCustomGrid.DrawGridCheckboxBitmaps

  

Draws a check box bitmap which represents the given state in a cell.

TUserCheckboxImageEvent

  

Specifies the event handler used to get the image drawn for a check box column.


Version 3.2 Generated 2024-02-25 Home