Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Holding down mouse button to repeat command button actio
Message
 
 
To
04/05/2005 21:26:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01010801
Message ID:
01011306
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
Malcolm,

Aren't patterns in the data more easily discerned in a grid where you can see more than one record at a time?

If you are only talking about 100 records I wouldn't bother with an acceleration factor.

One way to repeat something like this you do it in the MouseDown of the button:
* mousedown
do while mdown()
   skip 1
   thisform.Refresh()
   Sleep( 100 )
enddo
Depending on how long your form takes to refresh you may or may not need much of a sleep.

>My app pulls down small record sets (1-100 records) to a local cursor. Analysts browse this cursor looking for patterns. There's a grid on the left for users to navigate via a list, and record details on the right where users navigate via first, previous, next, last. The auto-repeat navigation capability is still valuable with relatively small sets of data. And quickly browsing a local cursor doesn't impact the network.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform