InfoConnect API Guide
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / BeforeSendControlKey Event


In This Topic
    BeforeSendControlKey Event (IUtsScreen)
    In This Topic
    Occurs before a control key is sent to the host.
    Syntax
    'Declaration
     
    
    <SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")>
    Event BeforeSendControlKey As BeforeSendControlKeyEventHandler
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim handler As BeforeSendControlKeyEventHandler
     
    AddHandler instance.BeforeSendControlKey, handler
    [SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")]
    event BeforeSendControlKeyEventHandler BeforeSendControlKey
    Event Data

    The event handler receives an argument of type BeforeSendControlKeyEventArgs containing data related to this event. The following BeforeSendControlKeyEventArgs properties provide information specific to this event.

    PropertyDescription
    The Cancel property indicates whether the user wants to cancel the SendControlKey.  
    The Key property permits the user to inspect or modify the Control key value.  
    See Also