Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CUSTOM objects not in ControlCount
Message
From
13/02/2003 10:56:33
Jorge Haro
Independent Consultant
Juarez, Mexico
 
 
To
13/02/2003 09:41:59
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00752483
Message ID:
00752707
Views:
13
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform