Dialog.TimedMessage

Dialog.TimedMessage ( 

string Title,

string Text,

number Time,

number Icon = MB_ICONINFORMATION )

Example 1

Dialog.TimedMessage("Oh oh...", "Waiting for a miracle", 5000, MB_ICONNONE);

Display a message that says "Waiting for a miracle" for 5 seconds, which is sure to instill confidence in your users.

Example 2

Dialog.TimedMessage("Security Check", "Performing retinal scan...", 6000, MB_ICONEXCLAMATION);

Display a message that says "Performing retinal scan..." for 6 seconds, with an exclamation mark icon on the dialog to make it seem even more important. (This message is most effective if, first, you tell the user to stare into the monitor and DON'T BLINK.)

Example 3

Dialog.TimedMessage("", "Meep meep", 1500, MB_ICONNONE);

Puts up a cryptic road runner impersonation for 1.5 seconds, with no text in the title bar.

Example 4

-- Get the installation's window handle.
handle = Application.GetWndHandle();

-- Hide the installer window.
Window.Hide(handle);

-- Presents a timed please wait dialog for 3 seconds.
Dialog.TimedMessage("Please Wait...", "Please be patient while processing.", 3000, MB_ICONNONE);

-- Show the installer window.
Window.Show(handle);

Hides the installation window while displaying a timed dialog message. Once the timed dialog has elapsed, the installer window is shown again.

See also:  Related Actions