Skip to main content
A newer version of this page is available.

Example: TreeList.FocusedColumn, TreeList.FocusedNode

The following sample changes the value of the currently focused cell within the control. The SetFocusedCellValue method uses the FocusedNode and FocusedColumn properties to get access to the cell.

procedure SetFocusedCellValue(AValue: Variant);
begin
  cxTreeList.FocusedNode.Values[cxTreeList.FocusedColumn.ItemIndex] := AValue;
end;