?
Solved

VB6: Coolbar and Toolbar, How?

Posted on 1998-08-21
2
Medium Priority
?
1,488 Views
Last Modified: 2008-02-01
How do you put a Toolbar inside a coolbar band?
Or do I have this all wrong?
0
Comment
Question by:vienna
[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
2 Comments
 
LVL 2

Accepted Solution

by:
lmorris earned 80 total points
ID: 1430314
Hi vienna,

You're probably doing it right, but missing one step.

You don't actually draw the toolbar control inside a coolbar band. You draw the toolbar control inside the coolbar control. At this point it won't look right, it may even span bands.

The step your probably missing is associating telling the coolbar control that the toolbar control is associated with a particular band. To do this, right-click on the coolbar and then click properties. Select the Band tab. See where the Child drop down is? If you click the down-arrow for the drop down box, you'll see your toolbar. Select it, then click OK.

You'll now see your toolbar inside band 1. If that wasn't the band you wanted it in, you can go back to the coolbar, change band 1's child property to none, select another band, then set it's child property to your toolbar.

Hope this works for you.


0
 

Author Comment

by:vienna
ID: 1430315
Thank you,
I am pleased that you took the time to answer my question.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

765 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