DEVPPL
http://www.devppl.com/forum/

how to create icon bar and icons in VB6? urgent help needed
http://www.devppl.com/forum/viewtopic.php?f=57&t=13436
Page 1 of 1

Author:  hadimohammed365 [ Wed Apr 22, 2009 12:43 pm ]
Post subject:  how to create icon bar and icons in VB6? urgent help needed

hi,
can anyone tell me how to make an icon in visual basic 6, icons like open, copy,paste, save, save as, run etc on the VB form
and how to create a bar for it as like a bar comes up in menu editor i want a bar below it for icons ..........any help will be appreciated.
thanks

Author:  Keithuk [ Sat Jul 11, 2009 1:53 am ]
Post subject:  Re: how to create icon bar and icons in VB6? urgent help needed

hadimohammed365 wrote:
hi,
can anyone tell me how to make an icon in visual basic 6, icons like open, copy,paste, save, save as, run etc on the VB form and how to create a bar for it as like a bar comes up in menu editor i want a bar below it for icons


Well the common way in VB is to right-click on a blank area of your ToolBox and select Components or press Ctrl+T. Scroll down until you see Microsoft Common Controls 5.0 (SP2), Comctl32.ocx or Microsoft Common Controls 6.0, Mscomctl.ocx.

This will add a Toolbar to your Form where you can add buttons with icons. You need to add an ImageList to add any icons for the buttons.

Or you can make your own toolbar using the standard Command button and set the Style property of the button to 1 - Graphical then add any picture/icon using the Picture property to the button. :wink:

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/