Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer 'freezing'
Message
 
 
To
07/06/2012 14:20:55
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01545609
Message ID:
01545645
Views:
61
VFP timer can be blocked by to many things. Check http://vfpx.codeplex.com/discussions/260025 for alternative using a com object.

>
>I inherited an application that has 2 forms; one which is used for a reading test and one that is used for a listening test.
>
>These forms have the same basic behavior, which is
>
>Use an '@Say' display the question (or question stimulus) and the response options that is stored as an .rtf in a general field.
>Use 'inkey()' to get the input from the student.
>
>The only difference between the two forms is that the listening form calls the Windows Sound Player to play the .wav for the question.
>
>I've been asked to put a timer on this test. Easily done, with warnings and everything - but apparently some students and instructors have issues understanding that 'less than N minutes left' doesn't mean you have N minutes. So, I put a timer in to display a running clock with the statement "Your test ends at (some time)".
>
>Ok, there's the setup - now here's the problem.
>
>On the listening side, the clock seems to 'freeze', so that the 10 minutes left warning will come up, but if you compare the time showing on the 'clock' with the stated ending time there would be 30 minutes or so.
>
>Suggestions?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform