Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass parameter from ADD OBJECT to DEFINE CLASS ?
Message
 
To
03/09/1997 07:28:46
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048228
Message ID:
00048430
Views:
27
>Did anyone know how to pass parameter from ADD OBJECT to DEFINE CLASS in VFP ? If it's possible,I can saves lot of DEFINE CLASS statements in my program.
>
>Thanks for any comment in advance
>Arnold
>knaarnd@netvigator.com

From the help file:

cut---
Object.AddObject(cName, cClass [, cOLEClass] [, aInit1, aInit2 ...])
cut---

You can see that you just have to pass your parameters to the
init() of the added object, see help for more infos.


:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform