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:
00097371
Views:
22
>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).

Right, but I am speaking about the situation where the original subclass doesn't have code in the Load method...and some instances of the class have had code entered into the Load method.....now, months later, maybe years, whenever, there is a requirement to put some code into the original subclass' Load method...

I had a good look at the SCX structure...could come in handy some day...

Take care,
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Reply
Map
View

Click here to load this message in the networking platform