WebSegmentedControl.SelectionType

From Xojo Documentation

Property (As Integer )
aWebSegmentedControl.SelectionType = newIntegerValue
or
IntegerValue = aWebSegmentedControl.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

Use the following class constants to specify the SelectionType. Each type corresponds to the behavior of either a series of PushButtons, Checkboxes, or RadioButtons.

Class Constant Description
SelectionTypeSingle When SelectionType is Single, the SegmentedControl behaves as a group of RadioButtons. One one is selected, the others are automatically deselected.
SelectionTypeMultiple When SelectionType is Multiple, the buttons behave as a series of checkboxes. Two or more can be selected at the same time.
SelectionTypeNone When SelectionType is None, then each button behaves like a Pushbutton. When a segment is clicked, it is depressed (highlighted) for only the duration of the click.

Example

The following sets the SelectionType to the PushButton style.

Me.SelectionType = WebSegmentedControl.SelectionTypeNone