From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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


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.