Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Bindevent - click not working
Message
De
25/05/2016 04:26:59
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
25/05/2016 04:00:59
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01636754
Message ID:
01636775
Vues:
78
>Hello Yousfi
>
>Many thanks , You save my Day :)
>Thanks great with mousedown , i will go to try click.
>
>Best regards
>Luis

I've not followed the whole thread.
Watch out

Try:

Move mouse over the object
Mouse down
move mouse out of object
Mouse up
CLICK would not fire on this, Mousedown will

Some VFP events need at least some dummy code into it to allow eventbinding

so try to add
=0
to an empty click for no other reason then to have code into it and retry eventbinding

Update_
In objects baseclass, you might add an method ThisClicked, add THIS.ThisClicked into the click event.
Now you have cheap event calls method as well as code you might bind to.

Every code in child classes / objects CLICK will ignore baseclass (until you have DODEFAULT)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform