Solved

GUI application C#

Posted on 2006-11-30
3
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 86

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Simple Linear Regression
Introduction to Processes

688 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