ReverseProgress||doc136509

September 20, 2022

Format

ProgressBar.ReverseProgress

Describe

This attribute determines whether to reverse the progression direction of the progress bar.

21.gif

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--Get the ProgressBar control for testing according to the name
local progress = APIRootWindow.APIProgressBar

--Set the progress reversal of the progress bar control
progress.ReverseProgress = true