progressSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(see also)
Line 30: Line 30:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[progressPosition]], [[sliderSetPosition]] |SEEALSO=  
| [[progressPosition]], [[ctrlScrollValues]], [[sliderSetPosition]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 19:19, 8 July 2020

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
Example 2:
with uiNamespace do { bar = findDisplay 46 ctrlCreate ["RscProgress", -1]; bar ctrlSetPosition [0,0,1,0.01]; bar ctrlCommit 0; bar progressSetPosition 0.75; };

Additional Information

See also:
progressPositionctrlScrollValuessliderSetPosition

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