InfoConnect for Airlines
BeforeSendControlKey Event (IAlcScreen)


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 IAlcScreen
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
CancelThe Cancel property indicates whether the user wants to cancel the SendControlKey.  
KeyThe Key property permits the user to inspect or modify the Control key value.  
See Also