Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call All Methods of a Class.
Message
From
17/10/2002 05:59:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Call All Methods of a Class.
Miscellaneous
Thread ID:
00712235
Message ID:
00712235
Views:
33
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
Next
Reply
Map
View

Click here to load this message in the networking platform