T
trant
Using Visual Studio 2008, is there anyway I can create a custom control which
is comprised of several standard windows controls put together in a certain
way?
For example, I want to have a panel, and inside this panel will be a few
other Panels with other controls within these panels. I want to position
them, set their docking and create a basic interface which would be grouped
together as one component.
Then I would want to go back to my main app and be able to add these
components throughout my app - just drag n drop in on some location set it's
docking and be done, so I dont have to recreate the whole component
repetively every time I need it.
Now, the standard "Designer" I get for my custom controls as far as I can
tell only allows me to drag n drop controls into a screen but it does not
render them and let me resize them and place other controls within them. For
example, I drag a Panel over and I just get some icon for the panel and it
says "panel1" but I cannot size it, position it etc...
How can I do this?
is comprised of several standard windows controls put together in a certain
way?
For example, I want to have a panel, and inside this panel will be a few
other Panels with other controls within these panels. I want to position
them, set their docking and create a basic interface which would be grouped
together as one component.
Then I would want to go back to my main app and be able to add these
components throughout my app - just drag n drop in on some location set it's
docking and be done, so I dont have to recreate the whole component
repetively every time I need it.
Now, the standard "Designer" I get for my custom controls as far as I can
tell only allows me to drag n drop controls into a screen but it does not
render them and let me resize them and place other controls within them. For
example, I drag a Panel over and I just get some icon for the panel and it
says "panel1" but I cannot size it, position it etc...
How can I do this?