- table dialog.AddButton(string label, integer value)
- Add button.
- V1 Function Name
- New to V2
Adds a button to the bottom of the dialog. Buttons are stretched left to right in the order they are added. When the button is clicked, the dialog is closed and the value is returned from the dialog.Show() function. Buttons have a fixed width, and the dialog also has a fixed width, so only a small amount of text and a limited number of buttons can be added within the space allotted.
See the example given here: dialog.Show