iOSSegmentedControlItem.Constructor(icon As iOSImage)

From Xojo Documentation

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

Constructor

iOSSegmentedControlItem.Constructor(icon As iOSImage)

Creates an item using the specified image.

Sample Code

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

Me.Add(New iOSSegmentedControlItem(MyIcon))