Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing All contained containers and All their controls
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Accessing All contained containers and All their controls
Miscellaneous
Thread ID:
00227313
Message ID:
00227313
Views:
58
Hi There!

I am trying to set various properties on all controls.
So from the top-level parent container I have something like:

LOCAL lnIndex
FOR lnIndex=1 TO This.ControlCount
This.Controls(lnIndex).Property = someValue
ENDFOR


But some controls are containers that contain other little
containers with little oblects in them.

Getting into hierarchical referencing implies having to
chech first for containers and non-containers - more code!!

Isn't there a more straight forward (kind of flat) way of doing this?

Thanks you.

Mathias
Mathias Banda

Time is longer than a rope.
Next
Reply
Map
View

Click here to load this message in the networking platform