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

TCompositeCellEditor.ActiveControl

Contains the active editor control for the composite cell editor.

Declaration

Source position: grids.pas line 339

public property TCompositeCellEditor.ActiveControl : TWinControl
  read GetActiveControl;

Description

ActiveControl is a read-only TWinControl property which contains the active editor control for the composite cell editor. The property value is retrieved from the internal list of TEditorItem instances added to the composite editor using the AddEditor method.

Each of the TEditorItem instances is visited until an editor with its ActiveControl property set to True is found. The return value contains the control found in the internal list, or Nil if none of the editor controls are the active editor in the composite cell editor.

ActiveControl is used in the implementations for properties and methods in the class, like:

See also

TCompositeCellEditor.MaxLength

  

Maximum length for the value in the composite editor control.

TCompositeCellEditor.SetFocus

  

Focuses the active control for the composite editor when it is Visible.

TCompositeCellEditor.SendChar

  

Sends the specified character to the active control and returns an integer status result.

TCompositeCellEditor.SetColor

  

Sets the value for the Color property.

TCompositeCellEditor.AddEditor

  

Adds the specified control to the composite cell editor using the given alignment and active state.

TEditorItem

  

Represents one of the editors used in a TCompositeCellEditor instance.


Version 4.0 Generated 2025-05-03 Home