At 09:16 AM 10/18/2016, Hodges, Dennis wrote:

How can I capture the tab key when I am exiting a dbedit object?


Dennis,

Use the (LASTKEY(0)) function to accomplish your goal.

Here's how ...

Use the following code as "On Exit EEP" ...

-- Start here
-- On Exit EEP
   SET VARIABLE vLast = (LASTKEY(0))
IF vLast = '[Tab]' THEN
   PAUSE 2 USING 'You have pressed [TAB] Key!' +
   CAPTION 'Capturing LASTKEY' ICON WINDOWS +
   BUTTON 'Press any key to continue ...' +
   OPTION BACK_COLOR WHITE +
   |MESSAGE_FONT_NAME Tahoma +
   |MESSAGE_FONT_COLOR NAVY +
   |MESSAGE FONT_SIZE 11
ENDIF
RETURN
-- End here

Have fun!

Very Best R:egards,

Razzak.



--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to