>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.