iOSSegmentedControl.Add

From Xojo Documentation

Revision as of 19:45, 21 August 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

iOSSegmentedControl.Add(item As iOSSegmentedControlItem)

Supported on Mobile(iOS).

Adds a segment to the end.

Sample Code

Add segments in the Open event:

Me.Add(New iOSSegmentedControlItem("Earth"))
Me.Add(New iOSSegmentedControlItem("Sun"))
Me.Add(New iOSSegmentedControlItem("Moon"))