>>>Is there a way to assign property values to a group of objects if there is not a value already asssigned? I'm looking to set all the HelpContextID properties for objects on a page (form, pageframe, whatever...) to a specific value unless they have previously been assigned in development. I'm trying to think of a way to use the SetAll method to handle this... Thanks!
>>>
>>>Regards, Renoir
>>
>>You can use Thisform.SetAll method, but you have to write your own HelpContextID_assign method for objects, where you want to check, if it was not empty before.
>>
>>Another way would be loop through form collections...
>
>That's exactly my question... How do I do what you just said. Renoir
See this message by Mike Helland Forum: Visual FoxPro Category: Forms & Form designer Title: Re: Iterating through form's controls Thread #
407951 Message #
408311 Actually, I recommend to look through the whole thread, since it contains several great advices. What I was suggested, was Trey's idea of using SetAll in conjuction with _assign.
If it's not broken, fix it until it is.
My Blog