'Declaration<SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")> Event BeforeSendKeys As BeforeSendKeysEventHandler
'UsageDim instance As IIbmScreen Dim handler As BeforeSendKeysEventHandler AddHandler instance.BeforeSendKeys, handler
[SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")] event BeforeSendKeysEventHandler BeforeSendKeys
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.
| Property | Description |
|---|---|
| Cancel | Gets or sets the Cancel property that indicates whether the user wants to cancel the key action. |
| Column | Gets the current column position of the cursor. |
| Keys | Gets or sets the Keys property that permits the user to inspect or modify the keys value. |
| Row | 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