sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - " \| *p22 *=(.*)\| *PARAMETER2 *= * " to " |p22=$1|PARAMETER22= ")
Line 25: Line 25:


|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]] |PARAMETER21=
|p22= pos: [[Number]] |PARAMETER2=
|p22= pos: [[Number]] |PARAMETER22=
|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]] |RETURNVALUE2=
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 02:41, 25 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.