General information
Category:
Object Oriented Programming
Environment versions
Network:
Windows 2008 Server
>Hi,
>Sorry for the .Net question, but we're trying to figure out the equivalent of a baseclassed Foxpro container in .Net.
>Let me clarify :
>
>In foxpro, we have a VCX which is a custom-container containing a label, checkbox and textbox.
>When we use this container on forms in foxpro, and change the width of let's say the Textbox in the baseclass, the forms with this container on it follow suit.
>
>How does one manage this in .Net?
>For all we see, if we drop a container on a form in .Net, there's a lot of code generated in the form itself stating amongst other things position and width of all parts of the container on the form.
>Thus, changing the width of the textbox on the .Net container itself does NOT affect the forms with that container on them.
>
>We're kind of baffled and don't know how to tackle this problem.
>Any help is greatly appreciated
A Container in .NET is a different animal. Create a UserControl to hold the various items and add it to the Toolbox.
Previous
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