Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject will not work
Message
From
27/08/2003 14:19:25
 
 
To
27/08/2003 13:58:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00823882
Message ID:
00823891
Views:
21
Hi, Steven.

>I created a new label class.
>I assigned a Public variable to NewObject("new label","my classes")
>When I try to do AddObject on my form nothing shows up. I have set the added Object to visible. Still nothing.

the AddObject (or NewObject) must add an object based on an existent class to your form; it's not possible to add an object that's already created in memory like you're trying to do.

Also, why would you create a Label object in a Public variable?!?
Claudio Lassala
Previous
Reply
Map
View

Click here to load this message in the networking platform