SegmentedButton.SelectedSegment

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Segment )
SegmentValue = aSegmentedButton.SelectedSegment

New in 2019r2

Supported for all project types and targets.

Provides the Segment at the requested index.

Notes

For multi-selection SegmentedButtons this returns the last segment that was selected.