Karen I ran into this with the PgUp and PgDn. I thing what you need to do is have the manager enter something that no one else would enter or have the manager type something in like [Alt]R then test for it. DIAL 'what ever your message says' vresp vendkey 1 IF vresp = '[Alt]R' THEN do whatever here ENDIF Buddy
________________________________ From: [email protected] on behalf of [EMAIL PROTECTED] Sent: Sat 5/7/2005 5:22 PM To: RBG7-L Mailing List Subject: [RBG7-L] - LASTKEY In converting some 6.5 code, I had this: SET KEYMAP [ALT]R = [ESC] DIALOG 'put some stuff here' vresp vendkey 1 IF LASTKEY(1) = '[ALT]R' THEN .... do some special stuff This was to create a "hidden" way for a manager to look at something in the middle of a program. Hitting [Alt[R does close my dialog box, but both LASTKEY(1) and LASTKEY(0) return [ESC] rather than [alt]R. So I can't trap the difference between a real ESC and a keymapped ESC. Can I do this? Karen
<<winmail.dat>>
