XLQP Gen1
ElementsCompatibility aliases

AddReadOnlyProgress

This compatibility method behaves like CreateProgressBar. Creates a progress bar with explicit current value and display formatting. It is kept so scripts written with the older AddReadOnlyProgress name continue to work.

AddReadOnlyProgress

Compatibility alias

AddReadOnlyProgress is an alternate name for CreateProgressBar. New code can use CreateProgressBar.

What it does

This compatibility method behaves like CreateProgressBar. Creates a progress bar with explicit current value and display formatting. It is kept so scripts written with the older AddReadOnlyProgress name continue to work.

When to use it

Use it for loading, completion, health, or quota values controlled by your script. Prefer CreateProgressBar in new code so the method name matches the current API.

ElementFunction:AddReadOnlyProgress(BarConfig)

local Result = Section:AddReadOnlyProgress({
    Name = "Example",
    Callback = function(value)
        print(value)
    end,
})

Behavior and return value

This alias forwards to CreateProgressBar, so its options, callbacks, and returned value follow the canonical method.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.