Available in:
Apps (win)
Apps (char)
Reportwriter
RPC
Standalone PL
X
void browser(cmd[,parameter]) int cmd expr parameter
Sends special commands to the DesignVision JavaScript running in the browser. Commands are defined in dv.h:
| Command | Description | Parameter |
| browser_kill_cookie | Removes the DVJS_COOKIE. | N/A |
| browser_help_winname | Sets the help window name. | Window name |
| browser_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 |
| browser_call_parent | Calls the DVJScall function with the supplied parameter. | Parameter to pass to DVJScall(). |
| browser_heartbeat | Sets the heartbeat timeout value. | Value in milliseconds |
| browser_string | Sends a string to the evSendString handler (WPF) | String to send |
browser(browser_heartbeat,prompt("Heartbeat timeout -> "));