This is a simple message window, which accepts the property driven text or plain text as information message with the Ok OK button.
The typical structure of the message dialog is:
Code Block | ||
---|---|---|
| ||
var Message_Win = new canvas.Dialog( { title : 'Success', dialogType : 'MESSAGE', message : 'Detailed information message', okHandler : function () { //Your Ok action goes here } }); |
Refer the following sample dialog for its usage:
Code Block | ||
---|---|---|
| ||
var TransSuccess_Win = new canvas.Dialog( { title : 'Success', dialogType : 'MESSAGE', message : 'Event Alert Created Successfully', okHandler : function () { CBXFORMCONTAINER.exit(config); } }); TransSuccess.show(); |
...