Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic question about inheritance
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00097029
Message ID:
00097169
Views:
18
>Thanks...this requires a great deal of foresight I think...if I understand correctly...as in, what methods should have hooks and what methods shouldn't...it is something to keep in mind though...
>
What you would do in your original subclasses, any time you have code, create another method that is called at the end of the code [At the end of the Load method code you would have THIS.ADDLOAD()]. Then when you drop this object on a form, you never place code in the Load method, all of it goes in the AddLoad method. Therefore, you do not need to use DoDefault().

The only methods that have hooks are thos that have code.

Hacking the .SCX is always fun as well. Drew Speedie provided a "Hack Tool" at the last DevCon. He may also provide in on his web site (wherever that may be).
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform