TModalResult represents the return value from a modal dialog.
TModalResult represents the value returned by a modal dialog. An application can use any integer value as a modal result value. Although TModalResult can take any integer value, the following constants are defined for commonly used TModalResult values:
Constant |
Value |
Meaning |
0 |
None. Used as a default value before the user exits. | |
idOK |
The user exited with OK button. | |
idCancel |
The user exited with the CANCEL button. | |
idAbort |
The user exited with the ABORT button. | |
idRetry |
The user exited with the RETRY button. | |
idIgnore |
The user exited with the IGNORE button. | |
idYes |
The user exited with the YES button. | |
idNo |
The user exited with the NO button. | |
mrNo + 1 |
The user exited with the ALL button. | |
mrAll + 1 |
The user exited with the NO TO ALL button. | |
mrNoToAll + 1 |
The user exited with the YES TO ALL button. | |
mrYesToAll + 1 |
The user exited with the CLOSE button. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|