Skip to main content

TcxCustomGridTableController.FocusedItemIndex Property

Identifies the index of the currently focused item.

Declaration

property FocusedItemIndex: Integer read; write;

Property Value

Type
Integer

Remarks

Similar to the FocusedItem property, FocusedItemIndex can be used to specify the focused item (column in a (Banded) Table View and row in a Card View) of the active record. FocusedItemIndex identifies the position of the item within the View’s VisibleItems collection.

Refer to the FocusedItem topic for additional information.

The following code, sets focus to the first visible item within a View:

AView.Controller.FocusedItemIndex := 0;
See Also