Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dragover and calling another method problems
Message
De
29/05/2006 16:24:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01125469
Message ID:
01125705
Vues:
25
>All it does is called the code in event w/o triggering event, which is not a good idea in the first place. See >http://fox.wikis.com/wc.dll?Wiki~MethodsShouldNeverCallEvents

I disagree with this theory -- methods can not call or trigger an event. Events trigger methods. The Click() code contained in an object (form, control, etc) is not the event -- it is the method code called as a result of the event. Calling one object's Click() code from another object's method code is no different than calling a custom named method. The actual event (in this case, button click) is not raised by one method calling the click() code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform