MessageDlg(MessageText, IconNumber, ButtonNumber, HelpContext)
Displays a message dialog using standard Delphi function (see, e.g., http://www.delphibasics.co.uk/RTL.asp?Name=MessageDlg).
IconsNumbers:
0 Displays a exclamation symbol 1 Displays a red 'X' 2 Displays an 'i' in a bubble 3 Displays an question mark 4 Displays just the message
ButtonNumbers:
1 Displays a 'Yes' button 2 Displays a 'No' button 4 Displays an 'OK' button 8 Displays a 'Cancel' button 16 Displays an 'Abort' button 32 Displays a 'Retry' button 64 Displays an 'Ignore' button 128 Displays an 'All' button 256 Displays a 'No to all' button 512 Displys a 'Yes to all' button 1024 Displays a 'Help' button 2048 Displays a 'Close' button
Result
The result is as follows:
OK 1 Cancel 2 Abort 3 Retry 4 Ignore 5 Yes 6 No 7 Close 8 All 12 NoToAll 13 YesToAll 14