images in a toolbar

  • Thread starter Thread starter wild wolf
  • Start date Start date
W

wild wolf

Guest
hi,

iam having trouble displaying images on the buttons on the toolbar in C#.NET anybody has an idea on that coz i cant find any part where i can enter the path names for the images.

asrar
 
Follow these steps..

1) Add an ImageList to your project.
2) Go to the ImageList's properties, then under Appearance there's a property called Images that's a collection. Click the [...] to start adding images to it.
4) Go to the Toolbar's properties, then under Behavior there's a property called ImageList. Select the ImageList from the drop down.
3) Under the same area in the Toolbar's properties, there's a property called Buttons which is a collection. Click the [...] to open the list.
4) Add a button. In the button's properties (right hand side), under Misc. is an ImageIndex property, select the image from that drop down list.

Happy ToolBar'n! :)
 
hello,

thanx alot, got it working, infact i was refering to a book in the library and it explained me the same steps :) thanx once again

asrar
 
Back
Top