Unit 'Grids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TButtonCellEditor

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The editor used for button cells in a grid.

Declaration

Source position: grids.pas line 255

type TButtonCellEditor = class(TButton)

protected

  procedure msg_SetGrid(); message;

  

Issues a message to specify the grid for the editor.

  procedure msg_SetBounds(); message;

  

Issues a message to specifying the bounds for the editor.

  procedure msg_SetPos(); message;

  

Issues a message to specify the position for the editor.

  procedure msg_Ready(); message;

  

Issues a message when the editor is ready.

  procedure msg_GetGrid(); message;

  

Issues a message to get the grid control for the button cell editor.

public

  property Col: Integer; [r]

  

Column number for the grid cell editor.

  property Row: Integer; [r]

  

Row number for the grid cell editor.

end;

Inheritance

TButtonCellEditor

  

The editor used for button cells in a grid.

|

TButton

  

Implements a push button control.

|

TCustomButton

  

The base class for a push button control.

|

TButtonControl

  

Specifies a base class for button controls.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TObject

Description

TButtonCellEditor is a TButton descendant which implements a grid cell editor which uses a button to activate the editor control. TButtonCellEditor maintains interval member variables for the TCustomGrid hosting the editor control. The row and column numbers for the underlying cell in editor control are available in the Row and Col properties. TButtonCellEditor includes methods used to perform LCL message passing using a TGridMessage message type.

See also

TCustomGrid

  

Implements the base class for grid controls.

TGridMessage

  

Contains a LCL message and its auxiliary values.

TButtonCellEditor.Col

  

Column number for the grid cell editor.

TButtonCellEditor.Row

  

Row number for the grid cell editor.