SegmentedButton.Pressed
From Xojo Documentation
Event
SegmentedButton.Pressed(itemIndex As Integer)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
One of the segments was pressed or otherwise activated.
Notes
Check the SelectedSegmentIndex to determine which segment was pressed.