gui_util

Send commands to the gui client.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X        

Syntax

void gui_util(cmd[,parameter])
int           cmd
expr          parameter

Description

Sends special commands to the DesignVision client. Commands are defined in dv.h:
Command Description Parameter
gui_util_kill_cookie Removes the DVJS_COOKIE. N/A
gui_util_help_winname Sets the help window name. Window name
gui_util_killwin_prompt Sets the kill window prompt. If set, then DVJS will open a prompt box when the user tried to close the window via Alt-F4 or the X. To reset, send the command with no parameter. String to display in the prompt
gui_util_call_parent Calls the DVJScall function with the supplied parameter. Parameter to pass to DVJScall().
gui_util_heartbeat Sets the heartbeat timeout value. Value in milliseconds
gui_util_string Sends a string to the evSendString handler (WPF) String to send

Example

Prompt the user to set the browser heartbeat timeout value:
gui_util(gui_util_heartbeat,prompt("Heartbeat timeout -> "));