Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Classes Design
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01187089
Message ID:
01187219
Vues:
33
>>>>I guess I could have this container in a generic custom controls library in my COMMON folder. And once subclassed in my form I can make adjustments if necessary (fonts/color).
>>>
>>>I wouldn't do that except if you are sure you would be using it just once in the whole application. Otherwise, I would just make a subclass of it with the proper look and/or extended behavior.
>>>
>>The problem that I am having with this high level custom control library is that container elements will be based on my global control libary cControl.
>>At the application level I have aControls library (textbox, labesl...) that I used in my forms and let's I want to add some property/method to my text box, my custom date container textboxes will not inheret those changes.
>
>Oh... I see. Well, you can make this specific classes dynamic in your subclassed custom container, if you do that in code instead of having it in a vcx. In a code-based class is easier to control the instantiation.
>
>The only difference is that you can't put this class in the form toolbar, but you can use the Toolbox instead (which is a god idea anyways, if you aren't using it yet).
>
>If you find the idea useful but still have doubts about how to implement it, just tell me and I can write a small sample for you.
>
>Regards,

Martin,

I haven't used the Toolbox approach, can you explain? and yes, if you don't mind, I would like to have the sample code.

Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform