Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot add objects to a class based on a control class.
Message
From
28/03/2005 15:45:32
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00999521
Message ID:
00999529
Views:
44
Thanks, Chad

I'm not willing to go that way but it looks is the only way.

>This is indeed by design (see my other post) and many people do believe that the control class is pretty useless because of it. The main purpose of the control class is to build a control that can be extended with code, but without adding more objects. More objects would mean it is a different control. You could add all the objects you need and show/hide them as appropriate or just design different controls for each purpose.
>
>And if you don't like that, then you can just use a container instead of control. And you may want to do that and mark the objects as protected to see if you still get your desired outcome.
>
>HTH,
>Chad
Grigore Dolghin
Class Software.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform