The Message Box Object
TMessageBox.showModal('Message Box Sample', 'This is the message body');

Message box is a shared object that you may use to show a text message to the user. When the user clicks OK button, the message box will hide automatically.

Message Box Methods
Method/Property Description
showModal Shows the message box object. Form:

showModal(title, message, callback)

Where:
  • title is the message box title.
  • message is the text message.
  • callback is the callback that will be called after the user clicks on OK button.