InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / BeforeSendControlKey Event


In This Topic
    BeforeSendControlKey Event (IIbmScreen)
    In This Topic
    Occurs before a control key is sent to the host.
    Syntax
    'Declaration
     
    
    <SuppressMessageAttribute(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")>
    Event BeforeSendControlKey As BeforeSendControlKeyEventHandler
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim handler As BeforeSendControlKeyEventHandler
     
    AddHandler instance.BeforeSendControlKey, handler
    [SuppressMessage(Category="Microsoft.Design", 
       CheckId="CA1009:DeclareEventHandlersCorrectly", 
       Scope="", 
       Target="", 
       MessageId="", 
       Justification="")]
    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