Solved

Coolbar resize

Posted on 2001-08-01
2
255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 79
Visual Studio search word table and return Cell index 8 49
Passing a Text Box name to a Sub 6 79
VB6 ListBox Question 4 34
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 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

23 Experts available now in Live!

Get 1:1 Help Now