Bernie Lis :

>>
In an eep I tried the following:
set var gotkey = (chkkey(0))
if gotkey = 1 then
  set var f12 = (getkey(0))
  if f12 = '[F12]'   then
    do something
  endif
endif

I put this eep in an exit from the first field in the form, in a region.
I touch F12 but nothing happens.
I want to bring up a second form when F12 is pressed.
<<

Here is what contain the EEP that is run when exiting each fields on each
forms (to display an help form) :

SET var vkey TEXT = NULL
....
SET var vkey = (LASTKEY(0))
IF vkey = '[F12]' THEN
   do something
ENDIF

No KEYMAP and no special settings.
Seems that (in RBW) pressing F12 enforce field exit ...
Works in RBW6.1a, RBW6.5+ and RBW6.5++


J.M. GRATIAS, Logimatique, France

Reply via email to