DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   resizing toolbar (http://www.daniweb.com/forums/thread102201.html)

plusplus Dec 23rd, 2007 6:57 am
resizing toolbar
 
When resizing the form, I resize the toolbar on top. When it gets too small for all the buttons on the toolbar to show I want to either
Split the buttons into two lines or
Add a button at the right hand corner which includes as menubuttons all the buttons that can’t be seen.
My problem is the following, how do I know when the toolbar is too small and not all buttons are visible and which ones are not visible. How would I split the toolbar into two lines?

SCBWV Dec 23rd, 2007 5:41 pm
Re: resizing toolbar
 
The toolbar should be in a CoolBar. In the CoolBar Property Pages, on the Band tab, there's a settign for New Row. Add more then one Band and set the second Band to NewRow.

plusplus Dec 24th, 2007 3:11 am
Re: resizing toolbar
 
Quote:

The toolbar should be in a CoolBar.
what does that mean

debasisdas Dec 24th, 2007 5:24 am
Re: resizing toolbar
 
You need to use the CoolBar control for all that.

SCBWV Dec 24th, 2007 10:22 am
Re: resizing toolbar
 
The CoolBar is part of Microsoft Windows Common Controls-3. Using the Projects menu, select Components to bring up the Components dialog box. On the Controls Tab, check "Microsoft Windows Common Controls-3"

plusplus Dec 24th, 2007 11:15 am
Re: resizing toolbar
 
got it, thanks


All times are GMT -4. The time now is 8:26 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC