Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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:

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:

var TransSuccess_Win = new canvas.Dialog(
{
	title : 'Success', 
	dialogType : 'MESSAGE',
message : 'Event Alert Created Successfully', okHandler : function () 
	{
		CBXFORMCONTAINER.exit(config);
	}
}); 
TransSuccess.show(); 




  • No labels