?
Solved

VB6  frame  equivalent in VB2005

Posted on 2006-11-06
7
Medium Priority
?
637 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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
Technology Partners: 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!

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

771 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