InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / BeforeSendKeysEventHandler Delegate
The event sender.
BeforeSendKeys event argument.


In This Topic
    BeforeSendKeysEventHandler Delegate
    In This Topic
    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 e As BeforeSendKeysEventArgs _
    ) 
    'Usage
     
    
    Dim instance As New BeforeSendKeysEventHandler(AddressOf HandlerMethod)
    public delegate void BeforeSendKeysEventHandler( 
       object sender,
       BeforeSendKeysEventArgs e
    )

    Parameters

    sender
    The event sender.
    e
    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.
    See Also