ibec_MessageDlg
The ibec_MessageDlg function displays a message dialog box in the center of the screen.
Syntax
function ibec_MessageDlg(Msg: string; DlgType: integer; Buttons: integer): integer;
Description
Call ibec_MessageDlg to bring up a message box and obtain the user's response. The message box displays the value of the Msg parameter. Use the DlgType parameter to indicate the purpose of the dialog. Possible values of the DlgType parameter are:
__mtWarning = 0 | A message box containing a yellow exclamation point symbol. |
__mtError = 1 | A message box containing a red stop sign. |
__mtInformation = 2 | A message box containing a blue i. |
__mtConfirmation = 3 | A message box containing a green question mark (?). |
__mtCustom = 4 | A message box containing no bitmap. |
Use the Buttons parameter to indicate which buttons should appear in the message box. The following values and combinations can be used for the Buttons parameters:
__mbYes = 1 | A button with Yes on its face. |
__mbNo = 2 | A button the text No on its face. |
__mbOK = 4 | A button the text OK on its face. |
__mbCancel = 8 | A button with the text Cancel on its face. |
__mbAbort = 16 | A button with the text Abort on its face. |
__mbRetry = 32 | A button with the text Retry on its face. |
__mbIgnore = 64 | A button the text Ignore on its face. |
__mbAll = 128 | A button with the text All on its face. |
__mbNoToAll = 256 | A button with the text No to All on its face. |
__mbYesToAll = 512 | A button with the text Yes to All on its face. |
__mbHelp = 1024 | A button with the text Help on its face. |
ibec_MessageDlg returns the value of the button the user selected. These are the possible return values:
- __mrNone
__mrOk
__mrCancel
__mrAbort
__mrRetry
__mrIgnore
__mrYes
__mrNo
__mrAll
__mrNoToAll
__mrYesToAll
back to top of page
<< ibec_err_Name | IBEBlock | ibec_ShowMessage >>