I would like to create a very simple dialog box with a button using Ace3. The dialog box would appear when my addon is in a configure mode. I would like to capture when it is closed and run a function. My AddOn is fully running and based totally on Ace3.
I started with creating option table but now I am stuck. I don't know how to proceed. The table looks like this:
-- dialog box
local dialogBox = {
type = "group",
name = "Configure mode",
args = {
desc = {
type = "description",
order = 1,
name = "You are in the configure mode.",
},
exitmode = {
name = "Exit",
desc = "Press button to exit configure mode.",
order = 10,
type = "execute",
func = "resetAlphas",
},
},
}
I can't find how to register this dialog, how to open it and how to respond when it is closed. Hope someone can help. Thanks.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I would like to create a very simple dialog box with a button using Ace3. The dialog box would appear when my addon is in a configure mode. I would like to capture when it is closed and run a function. My AddOn is fully running and based totally on Ace3.
I started with creating option table but now I am stuck. I don't know how to proceed. The table looks like this:
I can't find how to register this dialog, how to open it and how to respond when it is closed. Hope someone can help. Thanks.