Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot add objects to a class based on a control class.
Message
De
28/03/2005 15:45:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00999521
Message ID:
00999529
Vues:
43
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform