Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Call All Methods of a Class.
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement