Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need assistance creating a Control control
Message
 
To
18/08/2005 17:04:16
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01040983
Message ID:
01042107
Views:
36
Mike,

You may try marking your inner objects as protected and see if your builder still works. If you do that, when you drop the class on a form, you shouldn't be able to "see" the inner controls (which is what you want). That's what I do when build complex controls. I (and many others, as discussed here before) find the control class to be useless.

HTH,
Chad

>I was also setting it in "design time" too, i.e. via the form designer :)
>
>The reason that I chose a Control control was so that I could hide all the "guts" and try to keep it as "automatic and simple" as possible for other to use by setting properties. With the container control, others will have to know what objects within it need to be setup before using it. Not too difficult to explain and do, but, just not as simple as I wish it could be.
>
>I have now got the same functionality duplicated in a container control that is setup using a builder. It works.
>
>Thanks for assisting,
>
>Mike
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform