Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to load a object from .vcx into a form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01043202
Message ID:
01043205
Views:
11
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform