Solved

GUI application C#

Posted on 2006-11-30
3
268 Views
Last Modified: 2010-04-16
I am creating a GUI program in C#.  If i make a group box which is initially "blank"  then the user is instructed to click the "open" button.  This will then pop up multiple text boxes and a button in that blank group box.  I didn't know if there was like a "sub" menu to do this or what.  If someone could help that would be great on instructing me how to do this.
0
Comment
Question by:jmkotman
3 Comments
 
LVL 18

Expert Comment

by:Ravi Singh
ID: 18047711
Can the number of textboxes and buttons vary at runtime? if they're fixed then you could just add the controls in the groupbox at design time and set their Visible property to False -- then set it to True when the open button is clicked
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 18048486
Or place a Panel inside the GroupBox and set its Dock property to Fill.  Now add your controls to the Panel and set it's Visible property to False.  Then you can make everything UnHide at once by toggle the Panel's Visible property.
0
 
LVL 16

Expert Comment

by:AlexNek
ID: 18048577
When I need different count of text boxes., I use grid like elements.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is an explanation of a simple data model to help parse a JSON feed
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question