iOSSegmentedControlItem.Constructor(title As Text = "")

From Xojo Documentation

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

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"))