This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
progress_bar [2020/12/03 11:03] – justin | progress_bar [2024/01/27 12:45] (current) – justin | ||
---|---|---|---|
Line 7: | Line 7: | ||
^Icon^Property^Description^ | ^Icon^Property^Description^ | ||
|{{: | |{{: | ||
- | |{{: | + | |{{: |
- | |{{: | + | |{{: |
- | |{{: | + | |{{: |
+ | |||
+ | =====Scripting===== | ||
+ | You can access and change certain properties of a progress bar from within a [[script]] by simply referencing the parent [[widget]] and the element by their unique IDs. See below for examples of changing the current value and maximum value. In this case, the [[widget]] has an ID of " | ||
+ | |||
+ | **Changing a progress bar's current value:** | ||
+ | <code bauxite> | ||
+ | widget[" | ||
+ | </ | ||
+ | |||
+ | **Changing a progress bar's maximum value:** | ||
+ | <code bauxite> | ||
+ | widget[" | ||
+ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |