Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CUSTOM objects not in ControlCount
Message
De
13/02/2003 10:56:33
Jorge Haro
Independent Consultant
Juarez, Mexique
 
 
À
13/02/2003 09:41:59
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00752483
Message ID:
00752707
Vues:
21
Have you tried looping through the Objects collection? as in:
for each loObject in this.Objects
   ?loObject.Name && For example
endfor
Going back to what Don said, the way you add the objects to the container does make a difference AFAIK, so you should use Addobject or else the object will not be added to the objects collection.


>Yea, you're right, I have no problem accesing the objects the way you're saying but my problem is that I need to make a loop through them. Someting like:
>
>With oApp.Modules.ControlCount
> do something
>endwith
>
>The property ControlCount is 0 in oApp (the master object), even when there are 5 objects (CUSTOM class) attached. Why?
>
>Any idea?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform