Solved

VB6  frame  equivalent in VB2005

Posted on 2006-11-06
7
628 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scanning dentists xray (the small ones) 3 45
Change Format on Data when exporting to Excel 4 23
Variable Event ? 3 23
Web Form VB.Net  import CSV 4 26
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now