sliderSetRange: 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 limits of slider idc of topmost user [[dialog]]. |= Description
| Set limits of slider idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''sliderSetRange''' [idc, min, max] |= Syntax
| '''sliderSetRange''' [idc, min, max] |SYNTAX=
|p1= [idc, min, max]: [[Array]] |= Parameter 1
|p1= [idc, min, max]: [[Array]] |PARAMETER1=
|p2= idc: [[Number]] of control |= Parameter 2
|p2= idc: [[Number]] of control |PARAMETER2=
|p3= min: [[Number]] |= Parameter 3
|p3= min: [[Number]] |PARAMETER3=
|p4= max: [[Number]] |= Parameter 4
|p4= max: [[Number]] |PARAMETER4=
| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


|s2= control '''sliderSetRange''' [min, max] |= Syntax
|s2= control '''sliderSetRange''' [min, max] |SYNTAX=
|p21= control: [[Control]] |= Parameter 1
|p21= control: [[Control]] |PARAMETER1=
|p22= [min, max]: [[Array]] |= Parameter 2
|p22= [min, max]: [[Array]] |PARAMETER2=
|p23= min: [[Number]] |= Parameter 3
|p23= min: [[Number]] |PARAMETER3=
|p24= max: [[Number]] |= Parameter 4
|p24= max: [[Number]] |PARAMETER4=
|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[sliderSetRange]] [101, 0, 100];</code> |= Example 1
|x1= <code>[[sliderSetRange]] [101, 0, 100];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Set limits of slider idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
sliderSetRange [idc, min, max]
Parameters:
[idc, min, max]: Array
idc: Number of control
min: Number
max: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetRange [min, max]
Parameters:
control: Control
[min, max]: Array
min: Number
max: Number
Return Value:
Nothing

Examples

Example 1:
sliderSetRange [101, 0, 100];

Additional Information

See also:
sliderPositionsliderRangesliderSetPositionsliderSetSpeedsliderSpeed

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