sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|r2= Nothing |RETURNVALUE= " to "|r2= Nothing |RETURNVALUE2= ")
(important)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set current thumb position of slider idc of topmost user [[dialog]]. |DESCRIPTION=
| Set current thumb position of slider idc of topmost user [[dialog]].
<br><br>{{Important | While main syntax only supports <tt>CT_SLIDER</tt>, the alternative syntax supports both <tt>CT_SLIDER</tt> and <tt>CT_XSLIDER</tt>}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:35, 7 October 2019

Hover & click on the images for description

Description

Description:
Set current thumb position of slider idc of topmost user dialog.

While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER
Groups:
Uncategorised

Syntax

Syntax:
sliderSetPosition [idc, pos]
Parameters:
[idc, pos]: Array
idc: Number of control
pos: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetPosition pos
Parameters:
control: Control
pos: Number
Return Value:
Nothing

Examples

Example 1:
sliderSetPosition [101, 50];

Additional Information

See also:
sliderPositionsliderRangesliderSetRangesliderSetSpeedsliderSpeed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section