iOSSegmentedControl.RemoveByValue

From Xojo Documentation

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

iOSSegmentedControl.RemoveByValue(item As iOSSegmentedControlItem)

Supported on Mobile(iOS).

Removes a specific segment.

Sample Code

Removes a specific segment:

// MoonSegment is a property of iOSSegmentedControlItem that
// was previously added to the segmented control.
SegmentedControl1.RemoveByValue(MoonSegment)