PP.App.MessageInfo.showStatus(status, setup);
status. PP.Application.MessageStatusEnum. Status type.
setup. Object. Additional settings of dialog box. They overlap basic settings. Optional parameter.
The MessageInfo.showStatus method displays a dialog box with status.
To execute the example, add links to the JS and CSS files in the HEAD tag:
PP.js.
PP.Metabase.js.
PP.App.js.
PP.css.
PP.App.css.
App.resources.ru.js.
Add the following script in the SCRIPT tag:
<script text="text/javascript"> function Ready() { // Create an object in code status = PP.Application.MessageStatusEnum.Success; // Display dialog box PP.App.MessageInfo.showStatus(status); }; </script>
Add the onload attribute in the BODY tag:
<body onload="Ready()"> </body>
After executing the example a dialog box with status is displayed.
See also: