Segment.Enabled
From Xojo Documentation
Property (As Boolean )
aSegment.Enabled = newBooleanValue
or
BooleanValue = aSegment.Enabled
New in 2019r2
Supported for all project types and targets.
or
BooleanValue = aSegment.Enabled
New in 2019r2
Supported for all project types and targets.
True if the segment is enabled. The default is True.
Example
This example disables the second segment. It is in the Open event of the SegmentedButton.