At 04:01 AM 7/23/2012, Rob Vincent wrote:

The following code snippet works correctly in a Windows XP environment,
however in Windows 7 it does not.

---------------------------------------------
CLS
SET KEYMAP [F2] = [ENTER]
SET V sval TEXT = NULL
DIALOG 'Enter Search Text:' sval EK 1 +
CAPTION ' Search Criteria [F2] to Add' AT 12,25
IF (LASTKEY(1)) = '[F2]' THEN
  PAUSE 2 USING 'F2 PRESSED' AT CENTER CENTER
ENDIF
----------------------------------------------

In Win_XP, if the function key [F2] is pressed, the routine will detect it.
In Win_7, pressing the function does not terminate the DIALOG command until
[OK] or [Cancel] are clicked.
The correct value IS stored in (LASTKEY(1)).

Any ideas why this would stop working as it has in XP?


What version and build of R:BASE?

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbae

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to