Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass parameter from ADD OBJECT to DEFINE CLASS ?
Message
 
À
03/09/1997 07:28:46
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048228
Message ID:
00048430
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform