Text of the message.
Message dialog type: 'warning', 'error', 'information', 'confirmation' or 'help'
Array of buttons. Each button could be defined by its string ID or by object (Buttons.addBtn | for structure see parameter params
of addBtn method)
Possible button id's: 'btnYes', 'btnNo', 'btnOK', 'btnCancel', 'btnAbort', 'btnRetry', 'btnIgnore', 'btnAll', 'btnNoToAll', 'btnYesToAll', 'btnHelp', 'btnClose' or some custom.
Object with other params. Possible attributes:
title: window caption.
defaultButton: id of default button.
chbCaption: caption of checkbox.
checked: initial state of checkbox.
Callback function, that receives the result value (object with buttonID and checked attributes).
messageDlg('Some message.', 'information', ['btnOK', 'btnCancel', {btnID:'btnHelp', caption:'Custom help'}], 'btnOK', function (result) {
alert("Result received: " + result);
});
Shows standard message dialog.