Consultor Eletrônico



Kbase P138186: How to trap a key press in a form in OpenEdge 10.2?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/12/2008
Status: Unverified

GOAL:

How to trap a key press in a form in OpenEdge 10.2?

GOAL:

How to trap a key press in a form?

GOAL:

How to duplicate ON F12 OF ... in a form?

FACT(s) (Environment):

OpenEdge Architect Category: Visual Designer
OpenEdge 10.2A
Windows

FIX:

Option #1
Use the KeyDown event.
Query e:KeyData to determine the actual key pressed.

Option #2
Implement F12 behavior by defining a Shortcut key for an Infragistics Toolbar Button/Menu Item.
This setting is located in Properties > Tools > [Toolbar Item] > SharedProps > Shortcut.
It can be referenced via the BeforeShortcutKeyProcessed event.