Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug with CLICK method in text/shapes in VFP6?
Message
De
18/12/2006 22:35:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Bug with CLICK method in text/shapes in VFP6?
Divers
Thread ID:
01178782
Message ID:
01178782
Vues:
59
Hi all,

I've discovered that when you fire the CLICK method on a text label or a shape on a form, it takes considerable time to "reset" so that you can click it again. In other words, I built a class that has a text label at the highest Z-index with code in it's CLICK and RIGHT-CLICK methods. The idea is to be able to click this with the mouse and have something happen, or right-click and do the opposite. It takes about 1/2 a second or so after the first click to be able to click again. HOWEVER, the right-click method has no such limitation! The behavior is the same for shapes but NOT for command buttons (which work just fine - CLICK is fired as fast as you can click the mouse). Note that this has nothing to do with the time to process the actual code - I distilled it to an extremely simple one-line function on click with the same result.

Any ideas as to what's up with this? Is it a bug? Is this also true under VFP8/9?

TIA,

-Arne
arne@synercom-edi.com "There are no absolutes but this one."
President, synercom/edi - Event Ticketing Solutions
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform