iOSSegmentedControlItem.Constructor(title As Text = "")

From Xojo Documentation

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

Constructor

iOSSegmentedControlItem.Constructor(title As Text = "")

Creates an item using the optional title.

Sample Code

In the Open event handler of an iOSSegmentedControl, adds a segment with a title:

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