Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse equivalent of CLEAR TYPEAHEAD
Message
De
15/07/2002 00:23:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00677211
Message ID:
00678580
Vues:
18
Hi David,

I had similar problem with my touch screen application,
when I double click on one of my button, it will actually
default to my next page button.

I tried to put your code after my button click, but it don't
work, any other way to help or advise me on this area.
Thank in advance

>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?
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform