SetSliderValue Data Member Function

Sets the value of the slider at the specified index. Slider values are always stored as <int32> values, and you must perform the appropriate conversion when using sliders for floating point values.

Prototype

int32 SetSliderValue( int32 p_nIndex, int32 p_nValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the control containing the slider you wish to set.
int32p_nValueThe value of the slider.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.