Difference between revisions of "Dialog (MenuMate)"
Jump to navigation
Jump to search
→Buttons: updated
imported>Speedo (→Text: updated) |
imported>Speedo (→Buttons: updated) |
||
Line 23: | Line 23: | ||
===Buttons=== | ===Buttons=== | ||
See the [[Button_(MenuMate)|Button]] page. Each dialog must contain one button element. There is no limit on the number of buttons that a dialog may contain, but if your dialog has more than 10 buttons, you must be sure to use [[mmUpdate]] in your script so that the user can scroll through and access all of the buttons. | See the [[Button_(MenuMate)|Button]] page. Each dialog must contain one button element. There is no limit on the number of buttons that a dialog may contain, but if your dialog has more than 10 buttons, you must be sure to use [[mmUpdate]] in your script so that the user can scroll through and access all of the buttons. | ||
====Reset==== | |||
If a dialog has more than 10 buttons, you may include an optional dialog attribute, '''resetonlink'''. If this attribute is non-zero, when a linkbutton in the dialog is pressed, the button diaply will be reset so that the first button is shown if the user comes back to this dialog later on. This attribute is ignored unless the dialog has more than 10 buttons and at least one of them is a linkbutton. | |||
==Example== | ==Example== |