MobileSegmentedButton.RemoveSegmentAt

From Xojo Documentation

Method

MobileSegmentedButton.RemoveSegmentAt(index As Integer)

Supported on Mobile.

Removes the segment at the index passed.

Sample Code

Remove the first segment:

SegmentedButton1.RemoveSegmentAt(0)