sliderSetSpeed: Difference between revisions
Jump to navigation
Jump to search
(clarified parameters) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Set speed of slider with id idc of topmost user [[dialog]]. | | Set speed of slider with id idc of topmost user [[dialog]]. | ||
* Click to arrow - move by line | * Click to arrow - move by line | ||
* Click to scale outside thumb - move by page. |= | * Click to scale outside thumb - move by page. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''sliderSetSpeed''' [idc,line,page] |= | | '''sliderSetSpeed''' [idc,line,page] |SYNTAX= | ||
|p1= [idc,line,page]: [[Array]] |= | |p1= [idc,line,page]: [[Array]] |PARAMETER1= | ||
|p2= idc: [[Number]] of control |= | |p2= idc: [[Number]] of control |PARAMETER2= | ||
|p3= line: [[Number]] value delta to move the slider when clicking on the outer arrows |= | |p3= line: [[Number]] value delta to move the slider when clicking on the outer arrows |PARAMETER3= | ||
|p4= page: [[Number]] value delta to move the slider when clicking inside the slider bar |= | |p4= page: [[Number]] value delta to move the slider when clicking inside the slider bar |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control '''sliderSetSpeed''' [line, page] |= | |s2= control '''sliderSetSpeed''' [line, page] |SYNTAX= | ||
|p21= control: [[Control]] |= | |p21= control: [[Control]] |PARAMETER1= | ||
|p22= [line, page]: [[Array]] |= | |p22= [line, page]: [[Array]] |PARAMETER2= | ||
|p23= line: [[Number]] value delta to move the slider when clicking on the outer arrows |= | |p23= line: [[Number]] value delta to move the slider when clicking on the outer arrows |PARAMETER3= | ||
|p24= page: [[Number]] value delta to move the slider when clicking inside the slider bar |= | |p24= page: [[Number]] value delta to move the slider when clicking inside the slider bar |PARAMETER4= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[sliderSetSpeed]] [101, 0.5, 2];</code> |= | |x1= <code>[[sliderSetSpeed]] [101, 0.5, 2];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[sliderPosition]], [[sliderRange]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSpeed]] |= | | [[sliderPosition]], [[sliderRange]], [[sliderSetPosition]], [[sliderSetRange]], [[sliderSpeed]] |SEEALSO= | ||
}} | }} |
Revision as of 14:49, 7 April 2019
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.85
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters