Solved

Need help with group box not showing

Posted on 2009-07-10
6
273 Views
Last Modified: 2013-11-27
I have a small app that has 4 group boxes that I display via the title menu. I choose one and in the code I hide the others and show the one chosen. Well I added one more and when i choose the menu item it does hide all the others but it does not show the new one. can anyone help with this.
0
Comment
Question by:jlcannon
  • 3
  • 3
6 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 24825298
It possible that when you added the new GroupBox it was accidentally "dropped" onto one of the other GroupBoxes instead of the Form.  This would make it a child of the other GroupBox and thus hide too when the parent one is hidden.  Check to make sure it is a child of the Form...
0
 

Author Comment

by:jlcannon
ID: 24825339
how do I determine that?
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 24825373
Hmmm....well, I assumed that this was a WinForms application.  Is this the case?...or are you working on a WebForms app?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:jlcannon
ID: 24825380
no it is a winform
0
 

Author Closing Comment

by:jlcannon
ID: 31602080
Accidently added Gbx to other Gbx and not the main form. I just cut the group box and pasted it to the main form and it works now. Thank you.
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 24825535
Glad you figured it out...I stepped away to help the kids and hadn't gotten back to your question yet.  =)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

773 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