Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll for methods
Message
De
13/04/2001 19:14:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00495458
Message ID:
00495482
Vues:
11
>Does anyone have something like SetAll, except it works for methods, that they'd be willing to share? Or does anyone have any ideas on putting something like this together. Thanks,

Off the top of my head, is this what you wanna do:
for each loControl in thisform.controls
     if pemstatus(loControl, 'refresh', 5)
          loControl.Refresh()
     endif
endfor
That should call the refresh method of every control directly on the form that has a refresh method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform