Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear buffer of mouse clicks
Message
De
15/01/1999 13:17:45
 
 
À
15/01/1999 13:15:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00176355
Message ID:
00176601
Vues:
34
>>>>>>Is there a way to clear the mouse clicks from the buffer, equivalent to clear typeahead, or to limit the number of buffered clicks ??
>>>>>
>>>>>DOEVENTS should do the trick.
>>>>
>>>>Except DOEVENTS will process the mouse clicks, and not dispose of them.
>>>
>>>Hmm, I've used DOEVENTS to clear mouse clicks (users pressing buttons while processing going on) and it seems to work for me. Windows may have processed the mouse clicks, but VFP doesn't.
>>
>>This is fairly simple to test
>>
>>Place 2 buttons on a form, and in one:
>>
>>* Some query that will take about 5 seconds.
>>SELECT * FROM Mytable INTO CURSOR Whatever
>>DOEVENTS
>>
>>In the other button,
>>MESSAGEBOX('Howdy')
>>
>>Click the first button, and while the query is running click the second. On my machine, the messagebox still appears.
>
>VFP 5 or 6? I'm still using 5...

Both. Have you tested like this?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform