Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DblClick event for command button
Message
 
À
08/05/1999 12:15:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00216396
Message ID:
00216518
Vues:
34
>>Is there a way to detect a double click on a command button?
>you could fine tune this code :
*click event
>start=seconds()
>do while seconds()-start < _dblclick
>	if mdown() and compobj(this,sys(1270))
>		* Dblclicked
>	endif	
>enddo
Cetin

This works fine! The only thing left to consider is how to get rid of the extra mouseclick that gets buffered? CLEAR TYPEAHEAD doesn't seem to work for mouseclicks. Is there another way?
Vidar Johannessen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform