Link to home
Start Free TrialLog in
Avatar of aogusafa
aogusafa

asked on

GroupBox not displaying at Load

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.Focus()
        Me.grpInputYear.Visible = True

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of CmdoProg2
CmdoProg2
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aogusafa
aogusafa

ASKER

No, they are not inside each other
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