Kbase 20967: Any-printable and Any-key Not Fired Correctly
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/09/2006 |
|
Status: Unverified
SYMPTOM(s):
Assigning a value to a fill-in in an any-printable trigger or in an any-key trigger, the value doesn't change the first time. Next times it runs properly.
CAUSE:
Progress Bug.
Change the value of a fill-in. Write this assignment in the any-printable trigger (or any-key). After pressing a key (e.g "a") the value of the fill-in doesn't change. But if the same action is done again, the value changes. So, the trigger doesn't change the value of the fill-in the first time, although the trigger is fired. In resume the trigger is not fired the first time, its fired after the second key is pressed.
Steps to reproduce:
1. insert a fill-in in a window.
2. insert the any-printable (or any-key) trigger to the fill-in.
3. add the next statement to the trigger:
assign fill-in:screen-value in frame {&frame-name} = "Hello".
4. run program
5. press a key into the fill-in (e.g "a").
6. nothing happens.
7. press again
8. value of the fill-in has change into "Hello".
FIX:
Add the following line after the assign statment:
return no-apply.