Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse equivalent of CLEAR TYPEAHEAD
Message
 
 
À
10/07/2002 15:03:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00677211
Message ID:
00677337
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Rodney,

You should make sure that you set the MousePointer to an hourglass during any long running process to give them some visual cue the machine is busy. I prefer a more proactive progress display though using a progressbar. I also use a class that can be used inside a SCAN that will give the user a prediction of when it'll be finished.

But to solve your problem, code like this will suck up all but one of the mouse clicks, you can put it at the end of the long running code:
n = inkey( 0.01, "MH" )
j = 0
do while ( n > 0 )
   n = inkey( 0.01, "MH" )
   j = j + 1
enddo
>Is there a mouse equivalent of CLEAR TYPEAHEAD (CLEAR CLICKAHEAD??)?
>
>If not, what is a good way to prevent extra mouse clicks from impatient users from landing them in the remote reaches of the application?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform