Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / BeforeSendKeysEventHandler Event
The source of the event.
Contains the keys that are about to be sent.
The row position where the keys were entered.
The column position where the keys were entered.
In This Topic
    BeforeSendKeysEventHandler Event
    In This Topic
    The event occurs before a data key is sent to the host.
    Syntax
    Public Delegate Function BeforeSendKeysEventHandler( _
       ByVal sender As Object, _
       ByRef keys As String, _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Boolean

    Parameters

    sender
    The source of the event.
    keys
    Contains the keys that are about to be sent.
    row
    The row position where the keys were entered.
    column
    The column position where the keys were entered.

    Return Value

    A boolean value that determines whether the event is cancelled.

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

    If set to true, the keys are sent to the host.

    Remarks

    The data key can be triggered from the keyboard, an application programming interface, or a macro.
    The SendKeys method triggers a BeforeSendKeys event for each SendKeys method invocation.

    You can change the keys before they are sent to the host.

    See Also