Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects contained in a class do not get instantiated
Message
De
30/03/2008 08:11:38
 
 
À
28/03/2008 23:17:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01306664
Message ID:
01306798
Vues:
4
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform