DesktopControl.Index
From Xojo Documentation
Property (As Integer )
aDesktopControl.Index = newIntegerValue
or
IntegerValue = aDesktopControl.Index
New in 2021r3
Supported for all project types and targets.
or
IntegerValue = aDesktopControl.Index
New in 2021r3
Supported for all project types and targets.
If the control is used in a control set, this specifies the control's index in the set.