Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DoEditButtonClick procedure

Member of TCustomGridprotectedIn unit Grids

Performs actions needed when the button for the editor control is clicked.

Declaration

pascal
procedure DoEditButtonClick(const ACol: Integer; const ARow: Integer)
 ; virtual

Arguments

ACol

Column number for the affected cell.

ARow

Row number for the affected cell.

Description

DoEditButtonClick is a procedure used to perform actions requires when the button for a cell editor or button column is clicked.

ACol and ARow contain the Integer coordinates for the cell where the action occurred.

DoEditButtonClick signals the OnEditButtonClick and OnButtonClick event handlers when they have been assigned for the grid control.

DoEditButtonClick is used in the implementation of the EditButtonClicked method used in cell editor controls, and the MouseUp method.

See also

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