sliderRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]]. |= Description
| Return limits, as an [[Array]] [min, max] of slider idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''sliderRange''' idc |= Syntax
| '''sliderRange''' idc |SYNTAX=
|p1= idc: [[Number]] |= Parameter 1
|p1= idc: [[Number]] |PARAMETER1=
| [[Array]] - [min, max] |= Return value
| [[Array]] - [min, max] |RETURNVALUE=


|s2= '''sliderRange''' control |= Syntax
|s2= '''sliderRange''' control |SYNTAX=
|p21= control: [[Control]] |= Parameter 1
|p21= control: [[Control]] |PARAMETER1=
|r2= [[Array]] - [min, max] |= Return value
|r2= [[Array]] - [min, max] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code> |= Example 1
|x1= <code>_slidelimits1 = [[sliderRange]] 105;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Return limits, as an Array [min, max] of slider idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
sliderRange idc
Parameters:
idc: Number
Return Value:
Array - [min, max]

Alternative Syntax

Syntax:
sliderRange control
Parameters:
control: Control
Return Value:
Array - [min, max]

Examples

Example 1:
_slidelimits1 = sliderRange 105;

Additional Information

See also:
sliderPositionsliderSetPositionsliderSetRangesliderSetSpeedsliderSpeed

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