SegmentedButton.LastSegmentIndex
From Xojo Documentation
Read-Only Property (As Integer )
IntegerValue = aSegmentedButton.LastSegmentIndex
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
The number of the last Segment of the SegmentedButton.