Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same Named Subclass - Problem??
Message
 
To
08/08/2003 11:49:06
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00818280
Message ID:
00818306
Views:
17
Depending on which class library is loaded first, this will be the class used. I used to do this purposely in a custom.vcx for particular clients when I wanted to give them some special settings. The custom.vcx was loaded before all other libraries - so the class in that library was the one used.

>Hi!
>
>I am working with a subclass that has the same name as its parent class (the parent class is housed in a different VCX). It seems that this subclass was "copied" into its class library using some form of third party class copy routine. I am having some issues with this subclass, particularly confusion when calling dodefault() - it just seems that on certain occasions, the parent code isn't executed which is why I am wondering whether this might have something to do with the fact that the subclass shared the same name as its parent class.
>
>Any insight would be appreciated.
>
>Thanks.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform