progressSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the current position in the progress bar. |= Description
| Sets progress position of the progress bar ([[DialogControls-ProgressBar]]) |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| control '''progressSetPosition''' pos |= Syntax
| control '''progressSetPosition''' pos |= Syntax


|p1= control: [[Control]] - |= PARAMETER1  
|p1= control: [[Control]] - progress bar control |= PARAMETER1  


|p2= pos: [[Number]] - |= PARAMETER2  
|p2= pos: [[Number]] - 0: no progress; 1: full progress |= PARAMETER2  


|p3= |= PARAMETER3


| Nothing |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>_control sliderSetPosition 0</code>|= EXAMPLE1  
|x1= <code>_control [[progressSetPosition]] 0.5</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[sliderSetPosition]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 21:59, 10 September 2013

Hover & click on the images for description

Description

Description:
Sets progress position of the progress bar (DialogControls-ProgressBar)
Groups:
Uncategorised

Syntax

Syntax:
control progressSetPosition pos
Parameters:
control: Control - progress bar control
pos: Number - 0: no progress; 1: full progress
Return Value:
Nothing

Examples

Example 1:
_control progressSetPosition 0.5

Additional Information

See also:
sliderSetPosition

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