Difference between revisions of "ButtonType"
Jump to navigation
Jump to search
(dGDAHDBNFTuO) |
m (Reverted edits by 92.96.206.215 (Talk) to last revision by Dark Byte) |
||
Line 1: | Line 1: | ||
− | + | 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]] |
Revision as of 18:32, 27 March 2012
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'