Gets or Sets the macro or script to run when the UnexpectedDisconnect event is triggered.
object.OnUnexpectedDisconnect = [string]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the script or macro to run when the UnexpectedDisconnect event is triggered.
The UnexpectedDisconnect event is fired when the client gets an Unexpected Disconnect from the host machine.
Typically when this happens the user is presented with the Unexpected Disconnect dialog however this dialog can be suppressed if the event is cancelled within a macro or script.
CancelEvent method | CancelEvent Action | OnConnectStateChanged property
© 2004-2021 looksoftware. All rights reserved.