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

# TEditorItem

Represents one of the editors used in a TCompositeCellEditor instance.

## Declaration

Source position: grids.pas line 301

`type TEditorItem = record`
`Editor: TWinControl;` |  | The Editor to be used for this item.
`Align: TAlign;` |  | Alignment for the editor relative to the other controls in the composite editor.
`ActiveControl: Boolean;` |  | True if Editor is the active control for a composite cell editor.
`end;`

## Description

TEditorItem is a record type used to maintain information about an editor control used a TCompositeCellEditor instance. Members in the record identify the editor control, its alignment, and a flag which indicates if the editor control is active.

TEditorItem instances are allocated when the AddEditor method in TCompositeCellEditor is called.

## See also

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