DelphiDelphiVCLPythonPython GUIWindows

Lists of All Available ModalResult Constants and Values

featuredimage2 4

ModalResult represents the return value from a modal dialog.

ModalResult represents the value returned by a modal dialog. An application can use any integer value as a modal result value.

Although ModalResult can take any integer value, the following constants are defined for commonly used ModalResult values:

Constant Value Meaning
mrNone 0 None. Used as a default value before the user exits.
mrOk idOK The user exited with the OK button.
mrCancel idCancel The user exited with the CANCEL button.
mrAbort idAbort The user exited with the ABORT button.
mrRetry idRetry The user exited with the RETRY button.
mrIgnore idIgnore The user exited with the IGNORE button.
mrYes idYes The user exited with the YES button.
mrNo idNo The user exited with the NO button.
mrAll mrNo + 1 The user exited with the ALL button.
mrNoToAll mrAll + 1 The user exited with the NO TO ALL button.
mrYesToAll mrNoToAll + 1 The user exited with the YES TO ALL button.
mrClose mrYesToAll + 1 The user exited with the CLOSE button.

You can find all the possible values above, using this command:

0 2926305

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Related posts
CodeIDEProjectsPythonWindows

Unlock the Power of Python for Deep Learning with Diffusion Model - The Engine behind Stable Diffusion

CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And OpenCV Library?

CodeIDEProjectsPythonWindows

Unlock the Power of Python for Deep Learning with Radial Basis Function Networks (RBFNs)

CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And NumPy Library?

Leave a Reply

Your email address will not be published. Required fields are marked *