sliderSetRange: 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=")
mNo edit summary
Line 25: Line 25:
|p23= min: [[Number]] |PARAMETER23=
|p23= min: [[Number]] |PARAMETER23=


|p24= max: [[Number]] |PARAMETER4=
|p24= max: [[Number]] |PARAMETER24=
|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]] |RETURNVALUE2=
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 08:45, 25 September 2020

Hover & click on the images for description

Description

Description:
Sets limits of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.
Groups:
GUI Control

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