WebSegmentedControl.Selected
From Xojo Documentation
This method is only available for Web applications. |
New in 2010r4
Supported for all project types and targets.
Sets the selection of a segment. If True, the segment is selected. The selected segment has a dark background.
New in 2010r4
Supported for all project types and targets.
Gets the selection of a segment. Returns True, if the segment is selected. The selected segment has a dark background.
Notes
The Selected property can also be set in the IDE by placing the control in Selected Cell mode. In this mode, the Selected Cell group appears in the Properties pane and the values for the selected cell are editable.
If SelectionType is None, then no segment can be depressed. This means that this property cannot be set to True. In this mode, a segment behaves like a PushButton and appears with a dark background only for the duration of the mouse click.
Example
The following selects the third segment:
The following example gets the value of the second segment: