Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a user defined control to a form
Message
From
01/08/2005 00:57:04
F Bilo
Bilo Office
Fuyang, China
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01037271
Message ID:
01037389
Views:
23
In this way, you do can't add an object reffrence to form's property, but, if it is an visual control, you will not see it appear on the form.

I think the only way is :

do form myform with cClassName

myform.init:
set classlib to &cClassLib
this.addobject("oNewobjName",cClassName)
** or this.Newobject("oNewObjName", cClassName,cClassLib)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform