Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clicks on an image don't always fire
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01353639
Message ID:
01353924
Vues:
26
Oh, duh. Why didn't I think of that? I'm used to using Click and RightClick for a command button. At the time it just didn't remember that it has no DblClick. And, of course, it doesn't really make sense for it to have that.

But, regardless of that, I still had to change the _DblClick sys var so that rapid clicks on the new image-based button will behave like rapid clicks on the button.

Thanks for waking me up.

>A command button doesn't have Doubleclick event so all clicks are single clicks regardless how close they are to each other.
>
>>To get a more graphical, attractive look on a form, I've changed over buttons to images. An odd thing I noticed is that quick, successive clicks on a button are interpreted as single clicks in rapid succession. But the same clicks on the image are interpreted as double-clicks. So it would seem the double-click threshold is different for one control vs. the other. I'm assuming I can alter this with the _DBLCLICK sys var, but I just found it kind of odd. Not so much a question as an observation, but if anyone knows the reason, I'd be curious.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform