Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvent - Override method
Message
 
To
07/12/2006 15:10:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01175841
Message ID:
01175869
Views:
10
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform