Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option button properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00363733
Message ID:
00363795
Vues:
16
>I set certain option button properties in the .Init of my option group base class. That's because I can't visually add option buttons from my own class to an option group class. Is that what people usually do, or do they subclass an option button in code and AddObject that class to their option groups in the option group .Init?

Sounds fine to me. What you could do is create a method called from Init() named SetControlProperties() in the OptionGroup Class that loops through every control and sets the properties. That makes it easier to subclass.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform