Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ButtonsCount_assign method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00382828
Message ID:
00382846
Vues:
20
>>>>Hi everyone,
>>>>
>>>> I have a class called btcc_options. This is a container within container and option group within the container. I want to write a code in OptionGroup.ButtonsCount_assign method (Option group in this class is just VFP native Option Group). How can I do it, if it's possible at all?
>>>>
>>>> Thanks in advance.
>>>
>>>You have to sub-class the native control. Then you can, via the Edit Property/Method option, add an assign method.
>>
>> Hi George,
>>
>> I expected this answer. IOW, there is no way to add this functionality in my existing class unless I re-design it to use subclass of OptionGroup in inner container. Pity :(
>

>Nadya,
>
>From a design standpoint, it's probably a good idea to do so any way.

Yes, I agree with this thesis in general. However, this class was designed already and it would be tough to re-design. Lacky me, we decided to not add functionality, which would require this class to be re-designed. I'll do it anyway, but not now...

Thanks for your help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform