Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. invisible group box

invisible group box

Scheduled Pinned Locked Moved Visual Basic
helpwinformsquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tinybunny_8
    wrote on last edited by
    #1

    I am working on windows forms project and ran into a problem. I created 2 groupboxes on top of each other, A and B. When the page is loaded for the first time, A will be visible and B is invisible. Then when I click a button in A, A will be invisible and B will be visible. The problem is that B will not be visible after I click the button ( I have already set B.visible = true). I think A treats B as its child, so when A is invisible B is also invisible. The two group boxes need to be on top of each other, so the button will act like "Back" button in web browser. Can anyone help me please ?

    D 1 Reply Last reply
    0
    • T tinybunny_8

      I am working on windows forms project and ran into a problem. I created 2 groupboxes on top of each other, A and B. When the page is loaded for the first time, A will be visible and B is invisible. Then when I click a button in A, A will be invisible and B will be visible. The problem is that B will not be visible after I click the button ( I have already set B.visible = true). I think A treats B as its child, so when A is invisible B is also invisible. The two group boxes need to be on top of each other, so the button will act like "Back" button in web browser. Can anyone help me please ?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You might want to try calling the GroupBox B .BringToFront() method to get it to appear on top of A. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      B 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You might want to try calling the GroupBox B .BringToFront() method to get it to appear on top of A. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        B Offline
        B Offline
        Bad Sector
        wrote on last edited by
        #3

        also ya if groupbox2 is a child of group 1 it will not work. try doing this place groupbox1on the form place all the controls on it. then place groupbox2 on the form some where else place the controls on it. move it over the groupbox 1. now in groupbox1 button write this groupbox1.visible=false groupbox2.visible=true and in groupbox2 button write this groupbox1.visible=true groupbox2.visible=false hopefully it will work Computer... :confused: Programming... :confused: What That

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups