Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Execute method

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)
Retry IDRETRY (4)
Try Again IDTRYAGAIN (10)
Yes IDYES (6)