MobileSegmentedButton.RemoveSegment

From Xojo Documentation

Method

MobileSegmentedButton.RemoveSegment(item As MobileSegment)

Supported on Mobile.

Removes the segment passed.

Sample Code

Removes a specific segment:

// MoonSegment is a property of type MobileSegment that
// was previously added to the MobileSegmentedButton control.
SegmentedButton1.RemoveSegment(MoonSegment)