Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for mouse click in buffer
Message
From
03/03/2006 04:35:33
 
 
To
03/03/2006 03:44:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01101174
Message ID:
01101179
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Hi All
>
>I have a button which allows a user to view the next record. I want to allow the user to be able to very quickly click this button and only when there are no more mouse clicks waiting in the queue do I want to actually retrieve the record from the database. I will move the record pointer for each click but only retrieve the actual data for the last mouse click / record that the user is now on. How can I check whether there are still more mouse clicks waiting in the queue?
>
>Thanks

- delegate a timer to execute the read code
- set window events time as Interval
- on every click call timer.reset

or

- in MouseDown start a MDOWN() loop
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform