iOSSegmentedControl.RemoveByValue

From Xojo Documentation

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)