Project: Message Dialogue Components.
Unit: PJMessageDialog.
Class: TPJWinMsgDlg
Applies to: ~>3.0
function Execute: Integer;
Call Execute to display the dialogue box. Execute returns a value associated with the button that was clicked to close the dialogue box as follows:
| Button clicked | Return value |
|---|---|
| Abort | IDABORT (3) |
| Cancel | IDCANCEL (2) |
| Continue | IDCONTINUE (11) |
| Ignore | IDIGNORE (5) |
| No | IDNO (7) |
| OK | IDOK (1) |
| Retry | IDRETRY (4) |
| Try Again | IDTRYAGAIN (10) |
| Yes | IDYES (6) |