Geeks With Blogs
Matt Watson Software developer, product visionary, and master of #dadops

Ok, so maybe I'm the only one who didn't know this, but here is a tip I figured out.

Normally the ToolBar control only works with images and text, otherwise the buttons look bad with no images on them.

Well, if you want to use the ToolBar for just buttons with no images, create an ImageList control and set its height to 1, 2, 3 pixels. Then set the ToolBar to use that image list. It will resize its buttons to the size of the ImageList

Posted on Saturday, October 11, 2003 6:51 AM | Back to top


Comments on this post: WinForms ToolBar Control

# re: WinForms ToolBar Control
Requesting Gravatar...
This idea is brilliant. It does work and really provides good result. - Dennis Wong YOR Health
Left by George Wright on Jan 26, 2017 10:13 AM

Your comment:
 (will show your gravatar)


Copyright © Matt Watson | Powered by: GeeksWithBlogs.net