iOSSegmentedControl.Insert

From Xojo Documentation

Method

iOSSegmentedControl.Insert(index As Integer, item As iOSSegmentedControlItem)

Supported on Mobile(iOS).

Inserts a segment at the specified index (0-based).

Sample Code

Add a segment at the beginning:

Var item As New iOSSegmentedControlItem("Moon")
SegmentedControl1.Insert(0, item)