Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I fire a method for all instances of a class.
Message
From
12/04/2003 07:29:59
 
 
To
11/04/2003 16:37:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00776786
Message ID:
00776905
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform