SegmentedButton.RemoveAllSegments
From Xojo Documentation
Method
Removes all segments in the control.
Example
The following example (in any event of a SegmentedButton removes all the existing segments:
Me.RemoveAllSegments
Removes all segments in the control.
The following example (in any event of a SegmentedButton removes all the existing segments: