Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there SetAll() for methods?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01310111
Message ID:
01310194
Views:
17
Hi

No there is not such a method but what I do is add a property to my base controls with an assignmethod.

Then I use SetAll("triggerAction","This.myMethod()")

Procedure TriggerAction_assign
LParameters tcAction
Eval(tcAction)
EndProc

Simon

>I need to call a method MyMethod of all controls of a form (and controls which are in the containers of a form). The SetAll() method can set a property of all controls. Is there a similar method for calling methods?
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform