Sign in Join
FPDoc Onlineexperiment

TCompositeCellEditor.ActiveControl property

Member of TCompositeCellEditorpublicIn unit Grids

Contains the active editor control for the composite cell editor.

Declaration

pascal
property 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:

  • Focused
  • MaxLenth
  • SetColor
  • SetFocus
  • SendChar
  • AddEditor

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.