From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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)