Kbase P10495: How to force the focus to stay in a widget depending to the value entered.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/21/2004 |
|
Status: Unverified
GOAL:
How to force the focus to stay in a widget depending to the value entered.
FACT(s) (Environment):
Progress 9.X
FIX:
You have to apply RETURN NO-APPLY in the trigger that is related to the entering of the value.
For example in the case of a Browse cell:
ON LEAVE OF t-table.t3 IN BROWSE {&BROWSE-NAME}
OR DEFAULT-ACTION OF T-table.t3 IN BROWSE {&BROWSE-NAME}
OR GO OF T-table.t3 IN BROWSE {&BROWSE-NAME}
DO:
IF myConditionOfNotMovingFocus
THEN RETURN NO-APPLY.
END.