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

TPickListCellEditor

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

Implements a cell editor control which displays a Pick List.

Declaration

Source position: grids.pas line 272

type TPickListCellEditor = class(TCustomComboBox)

protected

  procedure WndProc(); override;

  

The general message handler for this control.

  procedure KeyDown(); override;

  

Invokes the OnKeyDown handler.

  procedure DropDown; override;

  

Signals the OnDropDown event handler.

  procedure CloseUp; override;

  

Called when the drop-down list is closed.

  procedure Select; override;

  

Signals the OnSelect event handler when ItemIndex is changed.

  procedure Change; override;

  

Notifies the Grid control when the value for the cell editor has been changed.

  procedure msg_GetValue(); message;

  

Issues a message to find the value for the editor.

  procedure msg_SetGrid(); message;

  

Issues a message to specify the grid for the editor.

  procedure msg_SetValue(); message;

  

Issues a message to specify the value for the editor.

  procedure msg_SetPos(); message;

  

Issues a message to specify the position for the editor.

  procedure msg_GetGrid(); message;

  

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

public

  procedure EditingDone; override;

  

Invokes the OnEditingDone event handler.

  property BorderStyle: TBorderStyle;

  

Indicates if borders are displayed around the control.

  property OnEditingDone: TNotifyEvent;

end;

Inheritance

TPickListCellEditor

  

Implements a cell editor control which displays a Pick List.

|

TCustomComboBox

  

The base class for combo-box components.

|

TWinControl

  

The base class for controls 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

?

TObject

Description

TPickListCellEditor is a TCustomComboBox descendant which implements a cell editor control that displays a Pick List. TPickListCellEditor provides overridden methods to alter the behavior of the TCustomComboBox ancestor.

TPickListCellEditor has an internal member used to store the TCustomGrid for the cell editor. In addition, the Row and Column numbers for the underlying cell are stored in internal members. TPickListCellEditor provides methods needed to implement LCL message passing using the TGridMessage message type.

See also

TGridMessage

  

Contains a LCL message and its auxiliary values.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.