From Xojo Documentation

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

Property (As Text )
aiOSSegmentedControlItem.Title = newTextValue
TextValue = aiOSSegmentedControlItem.Title

Supported on Mobile (iOS).

The title text of the item.


Although you can have both an Icon and a Title, iOS only shows one of them, preferring the icon if available.

Sample Code

Changes the title for the first segment:

MySegmentedControl.Item(0).Title = "First!"