Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / BeforeSendKeys Event


BeforeSendKeys Event
Occurs before a data key is sent to the host.
Syntax
'Declaration
 
Event BeforeSendKeys As BeforeSendKeysEventHandler
 
'Usage
 
Dim instance As IIbmScreen
Dim handler As BeforeSendKeysEventHandler
 
AddHandler instance.BeforeSendKeys, handler
Event Data

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

PropertyDescription
Gets or sets the Cancel property that indicates whether the user wants to cancel the key action.  
Gets the current column position of the cursor.  
Gets or sets the Keys property that permits the user to inspect or modify the keys value.  
Gets the current row position of the cursor.  
Remarks
The data key can be triggered from the keyboard, an application programming interface, or a macro.

SendKeys method triggers a BeforeSendKeys event for each SendKeys method invocation.

See Also