Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call All Methods of a Class.
Message
De
17/10/2002 05:59:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Call All Methods of a Class.
Divers
Thread ID:
00712235
Message ID:
00712235
Vues:
34
Hello,

Is there any way to call all methods of a class type for example similar to the this.SetAll("Enabled",.T.,"MyClass") but for methods for example call all the refresh methods but only on certain objects.

My idea was to write a form method on my base form class called:

this.CallAll("Refresh",.T.,"MyClass")

That looped through all objects on the form and called each method but I imagine it would be slow and figured there could be a native method I'm missing.

BR
Tim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform