sliderPosition: 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:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return current thumb position of slider idc of topmost user [[dialog]]. |= Description
| Return current thumb position of slider idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''sliderPosition''' idc |= Syntax
| '''sliderPosition''' idc |SYNTAX=
|p1= idc: [[Number]] |= Parameter 1
|p1= idc: [[Number]] |PARAMETER1=
| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=


|s2= '''sliderPosition''' control |= Syntax
|s2= '''sliderPosition''' control |SYNTAX=
|p21= control: [[Control]] |= Parameter 1
|p21= control: [[Control]] |PARAMETER1=
|r2= [[Number]] |= Return value
|r2= [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_slidepos1 = [[sliderPosition]] 105;</code> |= Example 1
|x1= <code>_slidepos1 = [[sliderPosition]] 105;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Return current thumb position of slider idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
sliderPosition idc
Parameters:
idc: Number
Return Value:
Number

Alternative Syntax

Syntax:
sliderPosition control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
_slidepos1 = sliderPosition 105;

Additional Information

See also:
sliderRangesliderSetPositionsliderSetRangesliderSetSpeedsliderSpeed

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