Attachmate Reflection 2014 .NET API Reference
BeforeSendKeysEventHandler Delegate


The event sender.
BeforeSendKeys event argument.
Handles the BeforeSendKeys event that permits users to modify a key value and cancel a send key action before it is sent.
Syntax
'Declaration
 
Public Delegate Sub BeforeSendKeysEventHandler( _
   ByVal sender As Object, _
   ByVal args As BeforeSendKeysEventArgs _
) 
'Usage
 
Dim instance As New BeforeSendKeysEventHandler(AddressOf HandlerMethod)
public delegate void BeforeSendKeysEventHandler( 
   object sender,
   BeforeSendKeysEventArgs args
)

Parameters

sender
The event sender.
args
BeforeSendKeys event argument.
Remarks
To cancel the action, set the Cancel property of the BeforeSendKeysEventArgs object that's passed to the event handler to true.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

BeforeSendKeysEventHandler Members
Attachmate.Reflection.Emulation.IbmHosts Namespace

Send Feedback