TcxCustomTreeList.FocusedColumn Property
Specifies the focused column.
#Declaration
property FocusedColumn: TcxTreeListColumn read; write;
#Property Value
Type | Description |
---|---|
Tcx |
The focused tree list column. The property returns The returned object can be a Tcx Tip To identify the actual tree list column type, call the returned object’s Class |
#Remarks
You can use the FocusedColumn
property to identify the focused column or to move focus between tree list columns.
#Code Example: Override SetFocusedCellValue Procedure Implementation
The following SetFocusedCellValue
procedure implementation changes the focused cell’s value:
procedure TMyForm.SetFocusedCellValue(AValue: Variant);
begin
cxTreeList.FocusedNode.Values[cxTreeList.FocusedColumn.ItemIndex] := AValue;
end;
#Limitations
You can focus a column only if the following conditions are met:
- The Tree List control’s OptionsSelection.CellSelect property is set to
True
. - The column’s Options.Focusing property is set to
True
.