progressSetPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 34: | Line 34: | ||
};</code> | };</code> | ||
|seealso= [[progressPosition]] [[ctrlSetScrollValues]] | |seealso= [[progressPosition]] [[ctrlSetScrollValues]] [[sliderSetPosition]] | ||
}} | }} |
Revision as of 17:29, 20 January 2022
Description
- Description:
- Sets progress position of a progress bar.
- Groups:
- GUI Control
Syntax
- Syntax:
- control progressSetPosition progress
- Parameters:
- control: Control - Progress bar control
- progress: 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
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