Rob, Look on the 5-1/4" floppy if you aren't sure of the version.. ;-)
----- Original Message ----- From: "A. Razzak Memon" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Monday, July 23, 2012 7:18 AM Subject: [RBASE-L] - Re: Code Migration Problem to Windows 7 : 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 : :

