InfoConnect for Unisys VBA Guide
BeforeSendControlKeyEventHandler Delegate
The source of the event.
Control Key.
Handles the BeforeSendControlKey event to permit users to modify a control key value or cancel a send control key action before it is sent.

To cancel the action, set the Cancel property of the BeforeSendControlKeyEventArgs object passed to the event handler to true.

Syntax
private Sub Object_BeforeSendControlKeyEventHandler( _
   ByVal sender As Object, _
   ByRef key As Long _
) As Boolean

Parameters

sender
The source of the event.
key
Control Key.

Return Value

A boolean value that determines whether the event is cancelled.

If set to false (the default), the event is cancelled and the key is not sent to the host.

If set to true, the key is sent to the host.

See Also

 

 


2015 Attachmate

Send Feedback