Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes Design
Message
From
19/01/2007 16:05:57
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01187089
Message ID:
01187191
Views:
15
>>>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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform