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.

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.

Var s As Segment = Me.SegmentAt(1)
s.Enabled = False

See Also

SegmentedButton.