Solved

VB6: Coolbar and Toolbar, How?

Posted on 1998-08-21
2
1,475 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 20 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

729 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