Control grouping on Windows form?
-
I have a small area on a windows form that, based on user input, should have different controls displayed. The way I'm thinking to do it is to just overlap all the controls in design, and then change the .visible property of individual controls as needed. Ugly. Is there a better way to do this? I don't want to use tabs, since the space is small and I don't want the other tabs visible. Thanks -mutty
-
I have a small area on a windows form that, based on user input, should have different controls displayed. The way I'm thinking to do it is to just overlap all the controls in design, and then change the .visible property of individual controls as needed. Ugly. Is there a better way to do this? I don't want to use tabs, since the space is small and I don't want the other tabs visible. Thanks -mutty
Use panels. Put all controls belonging to a "tab" inside a panel of their own. Overlap the panels, and show the panel that should be visible. Hiding a panel automatically hides all controls inside of it. -- LuisR
Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!
-
Use panels. Put all controls belonging to a "tab" inside a panel of their own. Overlap the panels, and show the panel that should be visible. Hiding a panel automatically hides all controls inside of it. -- LuisR
Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!