sliderSetSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|SYNTAX= |p21=" to "|SYNTAX2= |p21=")
m (Text replacement - "|PARAMETER3= |p24=" to "|PARAMETER23= |p24=")
Line 23: Line 23:
|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]] |PARAMETER21=
|p22= [line, page]: [[Array]] |PARAMETER22=
|p22= [line, page]: [[Array]] |PARAMETER22=
|p23= line: [[Number]] value delta to move the slider when clicking on the outer arrows |PARAMETER3=
|p23= line: [[Number]] value delta to move the slider when clicking on the outer arrows |PARAMETER23=
 
|p24= page: [[Number]] value delta to move the slider when clicking inside the slider bar |PARAMETER4=
|p24= page: [[Number]] value delta to move the slider when clicking inside the slider bar |PARAMETER4=
|r2= [[Nothing]] |RETURNVALUE=
|r2= [[Nothing]] |RETURNVALUE=

Revision as of 09:03, 3 September 2019

Hover & click on the images for description

Description

Description:
Set speed of slider with id idc of topmost user dialog.
  • Click to arrow - move by line
  • Click to scale outside thumb - move by page.
Groups:
Uncategorised

Syntax

Syntax:
sliderSetSpeed [idc,line,page]
Parameters:
[idc,line,page]: Array
idc: Number of control
line: Number value delta to move the slider when clicking on the outer arrows
page: Number value delta to move the slider when clicking inside the slider bar
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetSpeed [line, page]
Parameters:
control: Control
[line, page]: Array
line: Number value delta to move the slider when clicking on the outer arrows
page: Number value delta to move the slider when clicking inside the slider bar
Return Value:
Nothing

Examples

Example 1:
sliderSetSpeed [101, 0.5, 2];

Additional Information

See also:
sliderPositionsliderRangesliderSetPositionsliderSetRangesliderSpeed

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