Rated
Read 60,375 times
Contents
Related Categories
Toolbar Control - Introduction
Introduction
Toolbars are seen in almost every application, and gives users quick access
to regularly used features such as Save. Microsoft offers a toolbar control
in its Common Controls which makes it very easy to add a toolbar to your own
application. This tutorial will show you how!
To add the Toolbar control to your VB project, click Project|Components, and
check the box next to Microsoft Windows Common Controls x.x where x is the version
of Visual Basic you are using.
REQUIRED FILES
If you will
be installing a program using the ImageList control, you need to distribute
the following files: MSCOMCTL.OCX - 1MB (VB 6 SP3) or COMCTL32.OCX - 596KB (VB 5 SP3)
|
James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.
Comments
-
Posted by vblife2003 on 19 Jan 2007
Hi,
I am trying to create keyboard shortcuts for toolbar buttons in VB.NET. Eg. For a button titled Manual I am setting the Text property to '&Manual'. In run mode when I press Alt... -
Posted by 3nter on 10 Jul 2006
How would i resize the button if i had the text align to the right.
for some reason when i try to change the width it switches right back to the width of whichever button that wou... -
Posted by skomali on 05 Apr 2005
Hi!
I am using a imagelist with a toolbar and when I am trying to disable an image in the tool bar the image is getting completely faded (no image is being displayed but simply a complete gray sectio... -
Posted by donkey on 03 Oct 2003
FYI, if you want to do your own Toolbar graphics I have a freeware toolbar paint program that allows you to create imagelists quickly and easily. You can import icons, individual images from other ima... -
Posted by ocanse on 05 Sep 2003
HI all
this is my code en c# ,
I have six button but they no working .
private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
{
}
who can he...
|