Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to load a object from .vcx into a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01043202
Message ID:
01043205
Vues:
9
>I have a object (container) stored in my .VCX class library.
>Now (during runtime) I want to "load" this container into a form.
>I am going nuts looking for the right code.
>Createobject() was of no help.
>Anybody of you experts know?
Thisform.NewObject("DesiredNameOfTheObject","ClassName","VCXNAME.VCX")
Thisform.DesiredNameOfTheObject.Visible = .t. && This is important if you want to see it
If You must pass parameters to Init Event of this object check NewObject() method, not Function in Help
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform