sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1= |gr1= GUI Control |GROUP1=" to "|gr1= GUI Control |GROUP1=")
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
Line 44: Line 44:
[[Category:Scripting Commands OFP 1.96|SLIDERSETPOSITION]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETPOSITION]]
[[Category:Scripting Commands Armed Assault|SLIDERSETPOSITION]]
[[Category:Scripting Commands Armed Assault|SLIDERSETPOSITION]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 17:17, 26 September 2020

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.