?
Solved

VB6: Coolbar and Toolbar, How?

Posted on 1998-08-21
2
Medium Priority
?
1,530 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
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

Industry Leaders: 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!

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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

839 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