Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning through objects to assign property values
Message
 
 
À
17/05/2001 14:34:08
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508436
Message ID:
00508462
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform