sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
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]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''sliderSetPosition''' [idc, pos] |= Syntax
| '''sliderSetPosition''' [idc, pos] |SYNTAX=
|p1= [idc, pos]: [[Array]] |= Parameter 1
|p1= [idc, pos]: [[Array]] |PARAMETER1=
|p2= idc: [[Number]] of control |= Parameter 2
|p2= idc: [[Number]] of control |PARAMETER2=
|p3= pos: [[Number]] |= Parameter 3
|p3= pos: [[Number]] |PARAMETER3=
| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


|s2= control '''sliderSetPosition''' pos |= Syntax
|s2= control '''sliderSetPosition''' pos |SYNTAX=
|p21= control: [[Control]] |= Parameter 1
|p21= control: [[Control]] |PARAMETER1=
|p22= pos: [[Number]] |= Parameter 2
|p22= pos: [[Number]] |PARAMETER2=
|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[sliderSetPosition]] [101, 50];</code> |= Example 1
|x1= <code>[[sliderSetPosition]] [101, 50];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[sliderPosition]], [[sliderRange]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |= See also
| [[sliderPosition]], [[sliderRange]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO=


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Set current thumb position of slider idc of topmost user dialog.
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