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