Method MessageDlg (MessageCode: integer, MessageText: string): integer
Description
This function shows an Isah message form, if necessary, including a limited number of response buttons. The Application.Title property is used for the form title.
Message code
Code for the type of message that is shown. The following options are possible:
Error
Information
Warning
Warning with Yes / No buttons
Information with Yes / No buttons
Information with Yes / No buttons and No as default
Information with Yes / No / Cancel buttons
Information with Retry / Cancel buttons
Abort with Abort / Retry / Ignore buttonsMessageText
Text shown in the dialog, the current user’s language settings are ignored.
Result
This function returns a number of the selected button.