-
Notifications
You must be signed in to change notification settings - Fork 1
gui_setslidervalue
Tristan Hume edited this page Apr 23, 2012
·
3 revisions
#GUI.SetSliderValue
##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.html for reading a slider or.html scroll bar's value. See also GUI.CreateHorizontalScrollBar, GUI.CreateVerticalScrollBar, gui_createhorizontalslider.html, and gui_createverticalslider.html.