>>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only