You might have better luck remapping f12 to '[enter]' then testing for  lastkey(1).
----- Original Message -----
From: Bernie Lis
Sent: Wednesday, September 12, 2001 5:25 PM
Subject: Need help with chkkey & getkey V6.5++ dos

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.  Of course the eep doesn't execute until I exit the field.  so how do I use it?
 
I want to bring up a second form when F12 is pressed.
 
Bernie Lis
Megabytes, Inc.

Reply via email to