Search
WindowHost.showInfoDialog Method
See Also
 






Shows an info dialog.

Namespace: MindFusion.Common.UI
File: WindowHost.js

 Syntax

JavaScript  Copy Code

function showInfoDialog ([title, [message, [callback]]])

 Parameters

title
Optional.

String. The text to display as a dialog title.

message
Optional.

String. The message to display as the dialog text.

callback
Optional.

function. The callback function to invoke when the dialog is closed.

 Example

The following code renders an information dialog without a callback function:

JavaScript  Copy Code
// Show an information dialog.
// The information dialog displays a message and an OK button.
host.showInfoDialog("Information", "This is the value of the data field \n <" + sender.data + ">");

 See Also