dialog.AddButton Edit

table dialog.AddButton(string label, integer value)
Add button.
V1 Function Name
New to V2
More Information

Remarks Edit

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.

Example Edit

See the example given here: dialog.Show

See Also Edit


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.