progressSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = GUI Control
|gr1= GUI Control


| Sets progress position of a progress bar ([[CT_PROGRESS]]).
| Sets progress position of a progress bar ([[CT_PROGRESS]]).

Revision as of 13:48, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

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

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:
progressPositionctrlSetScrollValuessliderSetPosition

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