|
APGen Object |
|
See Also: |
The StatusDlg property sets/returns how Status Dialog boxes will be displayed for child APG scripts.
VBScript:
JScript:
| oAPGen | An APGen object. |
| StatusDlgSetting | One of the ApgStatusDlgEnum values. |
Child APG scripts (scripts run or opened by this APGen object) will display a status dialog box according to this setting.
Status dialogs are non-interactive - they appear when an APG script is opened, and they disappear when the APGScript object is released. They are provided to make it easy to monitor which APG scripts are running at any given time. The default behavior is to display a minimized status dialog, which means they'll appear on the Task Bar while the script is running, but they won't appear on the main area of your screen and interrupt any work.
Making the status dialogs appear does consume a small amount of server resources, so for production servers, particularly servers with no monitored display, it may make sense to turn Status Dialogs off.
The default value for this property is obtained from the registry setting:
Key: HKEY_CURRENT_USER\SOFTWARE\WebGecko\APGen\Defaults
DWORD Value: "APGen.StatusDlg"
When APGen is installed, this value is set to 2. Thus, apgStatusDlgMinimized is the standard default StatusDlg value. To change the default StatusDlg value for an individual user, modify this registry value.
The default value for the StatusDlg property is apgStatusDlgMinimized.
This VBScript line disables Status Dialogs for all child APG scripts.
oAPGen.StatusDlg = apgStatusDlgOff