Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Pass Parameters to Init with CreateObject
Message
De
07/12/2006 13:15:52
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
 
À
07/12/2006 01:51:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01175496
Message ID:
01175779
Vues:
7
You wrote: "COM does not support passing parameters to the Init method."

Good morning Craig

Yes, that is certainly the way it appears. I am currently writing separate lines to pass in values to class properties.

BUT... the MS documentation says that CreateObject("myTest.myClass", param1, param2, etc) does pass the params to the Class's Init Event. I have unsucessfully found any docs that say otherwise.

Can you point me to a document reference?

Thanks
Don Lowrey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform