Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there SetAll() for methods?
Message
 
À
11/04/2008 18:03:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01310111
Message ID:
01310194
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform