Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent - Override method
Message
 
À
07/12/2006 15:10:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01175841
Message ID:
01175869
Vues:
11
No Can Do.
I am trying to build a security system to integrate into an existing (very large) project. The source is frozen and there is no way to get permission or time to put code into every event in every control. Even making that change to the base classes would not work because many of the events are overwridden.

>>Using the bindevent method, how do I prevent the original method code from running? For example, I conditionally want the delegate code to prevent the actual method from running.
>
>Turn on a flag in your delegate code and check the flag in the original method code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform