iOSSegmentedControlItem.Selected

From Xojo Documentation

Property (As Boolean )
aiOSSegmentedControlItem.Selected = newBooleanValue
or
BooleanValue = aiOSSegmentedControlItem.Selected

Supported on Mobile (iOS).

Indicates if the item is selected.

Notes

Only one segment can display as selected. If multiple segments have Selected = True, then the last one with Selected = True is the one that displays as selected.

Sample Code

Set the first segment as selected:

MySegmentedControl.Item(0).Selected = True