Solved

Where is the panel???

Posted on 1998-09-30
3
208 Views
Last Modified: 2011-10-03
I'm a Delphi programmer starting using VB6 for a new project! I am searching the panel object like in Delphi. I want to separate the form in different parts and be able to set the alignment of them. One panel must be align to the top of the form, the other to the rest of the client area.

How can I do this in VB???
0
Comment
Question by:pjroy
3 Comments
 
LVL 2

Expert Comment

by:chrisbolt
Comment Utility
I think you can use a PictureBox control with the Align property set to Top and draw your controls onto that PictureBox... then just use the rest of the form for the rest of your controls.
0
 
LVL 14

Accepted Solution

by:
waty earned 30 total points
Comment Utility
By panels, you will mean container. There are several container under VB :
   * The Frame
   * The Tabs
   * Panels (with the Threed32.ocx)
   * The PictureBox

For me, the one you need to use is the frame.
0
 
LVL 13

Expert Comment

by:Mirkwood
Comment Utility
Choose New Project and select VB Wizard as template. Now choose explorer style application. This shows you how to do it.
Another solution is to use a picturebox. A picturebox can contain other controls again just like a frame.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

744 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

18 Experts available now in Live!

Get 1:1 Help Now