GroupBox not displaying at Load

Posted on 2008-01-28
Medium Priority
Last Modified: 2013-11-26
I am new to writing in vb.net, sorry if this is simplistic

I have two groupboxes, on the form load procedure I have groupbox1.visible = false and groupbox2.visible = true, nothing displays on the form load event.

If both are visible they both display and if groupbox1 is visible and groupbox2 is not visible it displays correctly.

Can anyone help?
Thank you

Private Sub frmCAMISUpdateAppointee_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Setting up look of GUI
        Me.grpInputFile.Visible = False
        Me.pBar.Visible = False
        Me.btnRun.Enabled = False
        Me.grpInputYear.Visible = True

Open in new window

Question by:aogusafa
  • 2
LVL 12

Accepted Solution

CmdoProg2 earned 150 total points
ID: 20762346
Is groupbox2 inside of groupbox1?  An easy way to check is to view the tab order.

Author Comment

ID: 20762372
No, they are not inside each other

Author Closing Comment

ID: 31425717
I was able to look in the vb.designer file for my project and because they were placed to close to each other were connect with each other

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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.
Native ability to set a user account password via AD GPO was removed because the passwords can be easily decrypted by any authenticated user in the domain. Microsoft recommends LAPS as a replacement and I have written an article that does something …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

601 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