Solved

VB6  frame  equivalent in VB2005

Posted on 2006-11-06
7
631 Views
Last Modified: 2012-08-14

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
Comment
Question by:ernartey
  • 3
  • 2
7 Comments
 
LVL 19

Expert Comment

by:VoteyDisciple
ID: 17882606
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
 
LVL 19

Accepted Solution

by:
VoteyDisciple earned 500 total points
ID: 17882617
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
 
LVL 10

Expert Comment

by:gangwisch
ID: 17882841
groupbox is the equivalent
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.

 
LVL 19

Expert Comment

by:VoteyDisciple
ID: 17882855
GroupBox is just a Panel with some decoration on it; an undecorated Panel still has all the same functionality.
0
 
LVL 5

Expert Comment

by:DEEPESH
ID: 17887146
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
 
LVL 5

Expert Comment

by:DEEPESH
ID: 17987562
Any comment on it  Ernest.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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