Difference between revisions of "ButtonType"
Jump to navigation
Jump to search
(dGDAHDBNFTuO) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Lua]] | |
+ | The following button types are defined in defines.lua | ||
+ | |||
+ | *mbYes (0): A button with the locale text for 'Yes'. Returns mrYes | ||
+ | *mbNo (1): A button with the locale text for 'No' | ||
+ | *mbOK (2): A button with the locale text for 'Ok' | ||
+ | *mbCancel (3): A button with the locale text for 'Cancel' | ||
+ | *mbAbort (4): A button with the locale text for 'Abort' | ||
+ | *mbRetry (5): A button with the locale text for 'Retry' | ||
+ | *mbIgnore (6): A button with the locale text for 'Ignore' | ||
+ | *mbAll (7): A button with the locale text for 'All' | ||
+ | *mbNoToAll (8): A button with the locale text for 'No to all' | ||
+ | *mbYesToAll (9): A button with the locale text for 'Yes to all' | ||
+ | *mbHelp (10): A button with the locale text for 'Help' | ||
+ | *mbClose (11): A button with the locale text for 'Close' | ||
+ | |||
+ | == See also == | ||
+ | * [[ButtonResult]] | ||
+ | * [[messageDialog]] | ||
+ | * [[form_showModal]] | ||
+ | * [[Lua]] |
Latest revision as of 11:42, 19 March 2017
The following button types are defined in defines.lua
- mbYes (0): A button with the locale text for 'Yes'. Returns mrYes
- mbNo (1): A button with the locale text for 'No'
- mbOK (2): A button with the locale text for 'Ok'
- mbCancel (3): A button with the locale text for 'Cancel'
- mbAbort (4): A button with the locale text for 'Abort'
- mbRetry (5): A button with the locale text for 'Retry'
- mbIgnore (6): A button with the locale text for 'Ignore'
- mbAll (7): A button with the locale text for 'All'
- mbNoToAll (8): A button with the locale text for 'No to all'
- mbYesToAll (9): A button with the locale text for 'Yes to all'
- mbHelp (10): A button with the locale text for 'Help'
- mbClose (11): A button with the locale text for 'Close'