Difference between revisions of "ButtonResult"
Jump to navigation
Jump to search
m (Added a Description.) |
m |
||
Line 60: | Line 60: | ||
== See also == | == See also == | ||
− | * [[ | + | * [[ButtonType]] |
* [[messageDialog]] | * [[messageDialog]] | ||
* [[form_showModal]] | * [[form_showModal]] | ||
* [[Lua]] | * [[Lua]] |
Revision as of 23:46, 10 July 2025
'ButtonResult is an enumeration in Cheat Engine Lua that represents the result of a dialog box, indicating which button the user pressed. Each constant corresponds to a specific button action (such as OK, Cancel, Yes, No, etc.) and is returned by functions like messageDialog to let your script know how the user responded.
Defined in: defines.lua
Button Results
Constant | Value | Description |
---|---|---|
mrNone | 0 | None |
mrOK | 1 | OK pressed |
mrCancel | 2 | Cancel pressed |
mrAbort | 3 | Abort pressed |
mrRetry | 4 | Retry pressed |
mrIgnore | 5 | Ignore pressed |
mrYes | 6 | Yes pressed |
mrNo | 7 | No pressed |
mrAll | 8 | All pressed |
mrNoToAll | 9 | No to All pressed |
mrYesToAll | 10 | Yes to All pressed |
mrLast | 10 | Last result (same as mrYesToAll) |