sliderRange: 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 - " \| *p21 *=(.*)\| *PARAMETER1 *= * " to " |p21=$1|PARAMETER21= ")
Line 18: Line 18:
|s2= '''sliderRange''' control |SYNTAX2=
|s2= '''sliderRange''' control |SYNTAX2=


|p21= control: [[Control]] |PARAMETER1=
|p21= control: [[Control]] |PARAMETER21=
|r2= [[Array]] - [min, max] |RETURNVALUE2=
|r2= [[Array]] - [min, max] |RETURNVALUE2=
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 02:33, 25 September 2020

Hover & click on the images for description

Description

Description:
Returns limits, as an Array [min, max] of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.
Groups:
GUI Control

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