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

TCustomGrid.OnCheckboxToggled

Event handler signalled when the value for a check box cell is toggled.

Declaration

Source position: grids.pas line 1304

protected property TCustomGrid.OnCheckboxToggled : TToggledCheckboxEvent
  read FOnCheckboxToggled
  write FOnCheckboxToggled;

Description

OnCheckboxToggled is a TToggledCheckboxEvent property with the event handler signalled when the value for a check box-style cell is toggled. OnCheckboxToggled is triggered (when assigned) after the cell value has been changed and stored. OnCheckboxToggled is used in descendent classes which implement a method to toggle the value when the cell is clicked, like TCustomDrawGrid.

See also

TCustomDrawGrid.ToggleCheckbox

  

Toggles the state for a check box cell between the checked and unchecked values.

TCustomDrawGrid.CellClick

  

Performs actions to handle a mouse click in the specified cell.

TToggledCheckboxEvent

  

Specifies an event handler signalled when the value in a check box cell is changed.


Version 3.2 Generated 2024-02-25 Home