sliderSetPosition

From Bohemia Interactive Community
Revision as of 11:49, 18 September 2020 by R3vo (talk | contribs) (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets current thumb position of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.
Groups:
GUI Control

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:
sliderPositionsliderRangesliderSetRangesliderSetSpeedsliderSpeedctrlSetScrollValuesprogressSetPosition

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

Posted on January 22, 2020 - 11:46 (UTC)
POLPOX
sliderSetPosition doesn't fire onSliderPosChanged events.