GRAPHIC WAITKEY$ does not appear to detect the TAB key, which seems odd to me. Is there a reason for this?
Code:
#COMPILE EXE #DIM ALL FUNCTION PBMAIN () AS LONG LOCAL hGW AS DWORD LOCAL s AS STRING GRAPHIC WINDOW "", 300, 300, 300, 300 TO hGW GRAPHIC ATTACH hGW, 0 GRAPHIC PRINT "press the TAB key" GRAPHIC WAITKEY$ TO s ? ASC(s), ASC(MID$(s,2)) SLEEP 2000 END FUNCTION
Comment