SegmentedControlItem.Enabled

From Xojo Documentation

Property (As Boolean )
aSegmentedControlItem.Enabled = newBooleanValue
or
BooleanValue = aSegmentedControlItem.Enabled

New in 2010r4

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 SegmentedControl.

Dim s As SegmentedControlitem = Me.Items(1)
s.Enabled = False

See Also

SegmentedControl.