[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 643
  • Last Modified:

VB6 frame equivalent in VB2005


Hi  Folks :
              I am   looking    for  which  control  to  use in vb2005   equivalent  to frame  in Vb6. I tried  the  groupbox   control   however  the   visible   property  does  not  seem to   work well . I Have     four   different  Panel  and  I want  to  hide all  and  use onlu  one at    a  time . Any help   ?
                                          Regards .


                                                           Ernest.
0
ernartey
Asked:
ernartey
  • 3
  • 2
1 Solution
 
VoteyDiscipleCommented:
What did a Frame do that a Panel doesn't do now?  Hiding and showing panels with the .Visible property sounds pretty reasonable to me...
0
 
VoteyDiscipleCommented:
Make sure your controls are actually CHILDREN of the Panel, and not just visually positioned in the same area.  I think VS 2005 does a better job of this, but it was still kinda confusing.  If you have controls that just happen to be in the same area of the screen as a Panel, then obviously hiding the panel will not affect them at all.
0
 
gangwischCommented:
groupbox is the equivalent
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
VoteyDiscipleCommented:
GroupBox is just a Panel with some decoration on it; an undecorated Panel still has all the same functionality.
0
 
DEEPESHCommented:
Basic difference between panel and groupbox are
1) GropuBox Support Caption where as Panel Not
2)Panel Support scrollbar where as GroupBox not

Regarding visible property, it works just check your controls are part of that groupbox or not.
0
 
DEEPESHCommented:
Any comment on it  Ernest.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now