Script.ShowWaitWindow(Message)

.ShowWaitWindow(Message) allows the user to display the wait window at the bottom of the DEACOM application. This window typically appears on long running reports and has a spinning wheel icon in it. The Message parameter will allow the user to display a specific text to the user inside the wait window.

Applies To

Properties and Methods

None

Available

The .ShowWaitWindow(Message) method is available in:

  • 16.07.024
  • 17.00.007
  • All newer builds

Type

Method

Syntax

Script.ShowWaitWindow(Message);

Parameters

Parameter

Required

Description

Message

Yes

The message to show when the wait window is open

Example

//--add this script to the open event on the NewOrd1 form layout

Script.ShowWaitWindow('Hello World! Waiting for a script to run.');

Script.Sleep(3000); //--Wait 3 seconds

Script.HideWaitWindow();

 

/* Expected Prompt Response:

.ShowWaitWindow() will open the Wait Window and display the text 'Hello World! Waiting for a script to run.' under the spinning wheel icon.

*/

Keyword Link IconScript Object - Properties and Methods