Type Function Library widget.* Return value none Revision 2017.3060 Keywords widget, segmented control, SegmentedControlWidget, setActiveSegment See also object.segmentNumber widget.newSegmentedControl() SegmentedControlWidget
Sets the active segment for a SegmentedControlWidget.
object:setActiveSegment( segmentNumber )
Number. The segment to set as active. Minimum value is 1
. Maximum value is the total number of segments in the control.
-- Set segment #3 as active mySegmentedControl:setActiveSegment( 3 )