showMessageBox (deprecated)

brixxApi.showMessageBox

Displays a modal messagebox with buttons. Each button gets a function that is called when the button is clicked. The Messagebox will NOT block the script. The next line after the messagebox will be executed while the messagebox is still visible. If you want to wait for the button click. use waitForMsgBox instead.

Parameters

messageBoxOptions - A JSON object with messageBox parameters

Example Usages

   brixxApi.showMessageBox({
      title: "sampel title",
      text: "sampel text",
      buttons: [
         {
             title: "myButton",
             click: function(){
                 console.log("myButton clicked!!!!");
             }
         }
   ]});

Last updated