Skip to main content

TdxCustomLayoutGroup.ItemIndex Property

Specifies the initially selected layout item in a group.

Declaration

property ItemIndex: Integer read; write;

Property Value

Type
Integer

Remarks

Use the ItemIndex property to specify an item, which is by default active. Specifying the index of an item laying beyond the View’s boundaries brings this item into the View.

If items are organized into tabs in the group (the group’s LayoutDirection property is ldTabbed), the ItemIndex property specifies the active tab.

The active item is specified by its index in the group’s item collection (see the group’s Items and the item’s Index properties).

See Also