Consultor Eletrônico



Kbase P147805: UltraTextEditor control appears to ignore the tab key
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/10/2009
Status: Unverified

SYMPTOM(s):

.NET Form has many UltraTextEditor controls on it

Tab key does not cause the cursor to tab from one UltraTextEditor control to the next

FACT(s) (Environment):

OpenEdge 10.2x
Windows

CAUSE:

The .NET Form had code behind the keyDown event handler in order to handle the function keys F1 through F9. The code handled each key in a single CASE statement, however, the events :Handled property was being set to true after the CASE statement ended which in turn caused the session to believe that the form itself rather than the control had processed the tab key.

FIX:

Modify the code behind the keyDown event handler on the form so that the :Handled property is only set to true when the code has actually processed the keystroke.