Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Addobject method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01340149
Message ID:
01340153
Vues:
19
From the VFP help file:

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

Parameters
cName
Specifies the name used to reference the new object.
cClass
Specifies the class of the object to add.
cOLEClass
Specifies the OLE class of the object to add.
Note If you plan to distribute run-time applications which add ActiveX Controls requiring License key information (for example, Microsoft Treeview and Listview controls), you should not use the AddObject(.....cOLEClass) method. Instead, create and save a subclass of your ActiveX Control to a VCX class library. Then, at run time you can use the AddObject (or NewObject) method to add this OleControl class containing your control.
aInit1, aInit2
Specify parameters passed to the Init event of the new object.

HTH


>How many parameters can the addobject method take. I think there are three, but I'm not sure because I can't find it in help.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform