SegmentedControl.SelectionType
From Xojo Documentation
This item was deprecated in version 2019r2. Please use SegmentedButton.SelectionStyles as a replacement. |
Property (As Integer )
aSegmentedControl.SelectionType = newIntegerValue
or
IntegerValue = aSegmentedControl.SelectionType
New in 2010r4
Supported for all project types and targets.
or
IntegerValue = aSegmentedControl.SelectionType
New in 2010r4
Supported for all project types and targets.
Controls the number of segments that can be selected at the same time.
Notes
Value | Meaning | Description |
---|---|---|
0 | Single | The SegmentedControl behaves as a group of RadioButtons. One one is selected, the others are automatically deselected. |
1 | Multiple | The buttons behave as a series of Checkboxes. Two or more can be selected at the same time. |
2 | None | Each button behaves like a PushButton. When a segment is clicked, it is depressed (highlighted) only for the duration of the click. |