Solved

Coolbar resize

Posted on 2001-08-01
2
253 Views
Last Modified: 2008-02-01
I have a coolbar (microsoft windows common controls-3 6.0 (SP4)) and it's aligned to the right, orientation vertical. But it has a fixed width (315) and i can't  make it bigger.
I would like it to be resizeable at run-time (like e split bar).
Can this be done? At least resize the coolbar so it doesn't have allways the same width...
0
Comment
Question by:Azmodan
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6344679
You can change the width of the bar, not necessarily dynamically but using this:

CoolBar1.Bands(1).MinHeight = CoolBar1.Bands(1).MinHeight * 2

Will double the width of the bar, I know I am using .MinHeight but because the bar is vertically oriented this is actually the width that is being changed.
0
 

Author Comment

by:Azmodan
ID: 6347592
thanx
it works
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

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…
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 …
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…
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…

747 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

13 Experts available now in Live!

Get 1:1 Help Now