Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls collection at design time
Message
From
21/01/2004 18:01:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00869260
Message ID:
00869288
Views:
14
>Works for me, but you need to change OF to IN in the FOR EACH line. What I would do is create an array in the FOR EACH and store an object reference to each form object. Then loop through the array to change out your form objects. In VFP8 you could use Collection object.

That "of" was a typo, sorry.
So I'd have to create my own references to it, which sounds like a workaround. The for... step -1 works fine, then - though I still have to handle grids, pageframes and button groups as separate cases. I wish they had the controls collection straight, and available in any class which can have members of any kind. I thought it would be true for VFP7 (I vaguely remember reading about that somewhere), but it seems to have gone just half way.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform