Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects contained in a class do not get instantiated
Message
 
 
To
28/03/2008 23:17:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01306664
Message ID:
01306798
Views:
5
>I have a container-based class (class1). Within class1 there are three other container-based objects, of two diferent classes. Two of the objects (class2) were placed there by a builder and the third one (class3) was dragged into the container from the project. Class1 object is added to form during form initialization. The Class2 objects always become instatiated, but the class3 based object is not instantiated at all most of the time, yet at other times it is. I suspect VFP class caching may be involved in the problem, but have not been able to find a clear pattern.
>
>Any leads?
>
>TIA,
>
>Alex

Yes, that would be my hunch as well. Put a breakpoint (or set step on) in that container's Init method and then return dodefault()
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform