Okay, this is a new one on me.
I recently switched development machines and the new one came with Windows 7 installed. I also have VFP 9 SP2 installed.
For the most part, I have had minor unexpected issues with VFP. However, I stumbled onto a couple things today that have me puzzled.
One issue is obnoxious but not totally surprising. Here is a snippet:
As long as VFP has focus, that code executes fine. If not, the WAIT window will not change, and the TIME() will never print.
Another issue is INKEY(). Here's another snippet:
That snippet of code won't run at all. It just sits there until VFP is in focus and a key is pressed or the mouse is moved.
I haven't had those sorts of issues in earlier versions of Windows. I haven't twiddled with CPU priorities or anything like that, but since the second snippet doesn't work in the foreground either, I can't see where that would make a difference.
Anyone else seen this sort of behavior?
-Dave Summers-
Even more Fox stuff at:
I recently switched development machines and the new one came with Windows 7 installed. I also have VFP 9 SP2 installed.
For the most part, I have had minor unexpected issues with VFP. However, I stumbled onto a couple things today that have me puzzled.
One issue is obnoxious but not totally surprising. Here is a snippet:
Code:
FOR nIndex = 1 TO 5
STORE SECONDS() TO z
DO WHILE SECONDS() < z + 5
WAIT WINDOW 'Waiting...' + TIME() TIMEOUT 1
?TIME()
ENDDO
NEXT
Another issue is INKEY(). Here's another snippet:
Code:
x = 0
DO WHILE x # 27
WAIT WINDOW 'Waiting ' + TIME() NOWAIT
x = INKEY(1)
?TIME()
ENDDO
I haven't had those sorts of issues in earlier versions of Windows. I haven't twiddled with CPU priorities or anything like that, but since the second snippet doesn't work in the foreground either, I can't see where that would make a difference.
Anyone else seen this sort of behavior?
-Dave Summers-
Even more Fox stuff at: