Click or drag to resize

WorkflowViewOnKeyPressed Event

This event is fired when there is an active item and the user presses or releases a key on the keyboard.

Namespace:  Kofax.OmniPageCSDK.ToolBoxes
Assembly:  Kofax.OmniPageCSDK.ToolBoxes (in Kofax.OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax
public event WorkflowViewKeyPressedHandler OnKeyPressed

Value

Type: Kofax.OmniPageCSDK.ToolBoxesWorkflowViewKeyPressedHandler
Remarks
The VKeyCode contains the virtual key code of the pressed or released key. KeyEvent contains the current action. It can be one of the following values:

Value Control default implementation in Mixed Mode
WM_KEYDOWN
  • Arrow Keys: moves focus to the next (previous) object
  • Home: moves focus to the first object
  • End: moves focus to the last object
  • PgUp: scrolls view down
  • PgUp: scrolls view up
  • Return: opens file associated with object
  • Space: collapses or expands focused object
  • Ctrl+Space: selects or deselects focused object

ItemID identifies the selected object. You can pass this value to one of the item manipulating functions in your event handler. If you want to block the default implementation which is normally executed after the event handler has exited, return False.

See Also