GUI.SetSliderValue

OpenTuring

GUI.SetSliderValuePart of GUI module

Syntax   GUI.SetSliderValue (widgetID, value : int)

Description   Sets the value of a slider or scroll bar specified by widgetID to value. It moves the thumb on the slider or scroll bar to the appropriate location and calls the slider's action procedure with the new value.

Example   See GUI.SetScrollAmount for an example of GUI.SetSliderValue.

Status   Exported qualified.

This means that you can only call the function by calling GUI.SetSliderValue, not by calling SetSliderValue.

See also   GUI.GetSliderValue for reading a slider or scroll bar's value. See also GUI.CreateHorizontalScrollBar, GUI.CreateVerticalScrollBar, GUI.CreateHorizontalSlider, and GUI.CreateVerticalSlider.