XLQP Gen1
ElementsCompatibility aliases

MakePopup

This compatibility method behaves like CreatePopup. Creates a modal popup with a title, description, and action options. It is kept so scripts written with the older MakePopup name continue to work.

MakePopup

Compatibility alias

MakePopup is an alternate name for CreatePopup. New code can use CreatePopup.

What it does

This compatibility method behaves like CreatePopup. Creates a modal popup with a title, description, and action options. It is kept so scripts written with the older MakePopup name continue to work.

When to use it

Use it for confirmations, decisions, warnings, or short blocking workflows. Prefer CreatePopup in new code so the method name matches the current API.

XLQPGen1:MakePopup(PopupConfig)

local Popup = Library:MakePopup({
    Title = "Save changes?",
    Description = "Choose whether to keep the current settings.",
    OutsideClickDismiss = false,
    DimBackground = true,
    Options = {
        {
            Text = "Save",
            Variant = "Primary",
            Value = true,
            Callback = function()
                print("Settings saved")
            end,
        },
        {
            Text = "Cancel",
            Variant = "Secondary",
            Value = false,
        },
    },
})

Behavior and return value

This alias forwards to CreatePopup, 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.