InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts 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 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.
    See Also