iOSSegmentedControl.Insert

From Xojo Documentation

Revision as of 15:02, 19 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)