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

TCompositeCellEditor

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

A general purpose editor for cells in a grid.

Declaration

Source position: grids.pas line 302

type TCompositeCellEditor = class(TWinControl)

protected

  function DoUTF8KeyPress(); override;

  

Performs actions needed to handle a UTF-8-encoded key press message for the control.

  procedure msg_GetValue(); message;

  

Issues a message to get the value for the editor.

  procedure msg_SetGrid(); message;

  

Issues a message to specify grid for the editor.

  procedure msg_SetValue(); message;

  

Issues a message to specify the value for the editor.

  procedure msg_SetBounds(); message;

  

Issues a message to specify the bounds for the editor.

  procedure msg_SetMask(); message;

  

Issues a message to specify the mask for the editor.

  procedure msg_SelectAll(); message;

  

Issues a message to Select all content in the editor.

  procedure CMControlChange(); message;

  

Issues a Control Message for a change in a control.

  procedure msg_SetPos(); message;

  

Issues a message to specify the position for the editor.

  procedure msg_GetGrid(); message;

  

Handles the message to get the Grid control for the composite cell editor.

  function GetActiveControl;

  

Gets the editor marked as the active control for the composite cell editor.

  procedure VisibleChanging; override;

  

Notifies all OnVisibleChanging handlers.

  function SendChar();

  

Transmits the specified character and returns an integer status result.

  procedure WndProc(); override;

  

The general message handler for this control.

  procedure CustomAlignPosition(); override;

public

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure AddEditor();

  

Adds the specified Editor with the given alignment and specified ActiveControl.

  procedure SetFocus; override;

  

Ensures that the control or window handle has focus.

  function Focused; override;

  

Indicates if the composite control and one of its editors are focused.

  property MaxLength: Integer; [rw]

  

Maximum length for the value in the composite editor control.

  property ActiveControl: TWinControl; [r]

  

Contains the active control in use in one of the editors for the composite control.

end;

Inheritance

TCompositeCellEditor

  

A general purpose editor for cells in a grid.

|

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