Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I fire a method for all instances of a class.
Message
De
12/04/2003 07:29:59
 
 
À
11/04/2003 16:37:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776786
Message ID:
00776905
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
Hi Steve,

General solution:

- support parameters
- support indirect return value

SetAll("exec","this.procName(parms1,parms2,...)")

On any class:

add property exec

and

PROCEDURE HIDDEN exec_Assign
LPARAMETERS sExec

STORE EVAL(m.sExec) TO this.exec

ENDPROC

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform