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

TButtonCellEditor

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

The editor used for button-style cells in a grid.

Declaration

Source position: grids.pas line 259

type TButtonCellEditor = class(TButton)

protected

  procedure msg_SetGrid(); message;

  

Handles the message which stores the associated grid and options used in the cell editor.

  procedure msg_SetBounds(); message;

  

Handles the message which sets the bounds for the cell rectangle in the cell editor.

  procedure msg_SetPos(); message;

  

Handles the message used to save the column and row number to the cell editor control.

  procedure msg_Ready(); message;

  

Handles the message which sets the width for the editor when it is ready to edit in the cell.

  procedure msg_GetGrid(); message;

  

Handles the message used to get the grid control and options for the cell editor.

public

  property Col: Integer; [r]

  

Column number for the cell editor.

  property Row: Integer; [r]

  

Row number for the cell editor.

end;

Inheritance

TButtonCellEditor

  

The editor used for button-style 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.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TButtonCellEditor is a TButton descendant which implements a grid cell editor which uses a button to activate the editor control. TButtonCellEditor maintains internal 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 cell editor.

TButtonCellEditor.Row

  

Row number for the cell editor.


Version 3.2 Generated 2024-02-25 Home