hy, can anyone give me an example of a toolbar .. which includes buttons with pictures!!
my prob is i cant get the pics into the buttons!!
thx!
Printable View
hy, can anyone give me an example of a toolbar .. which includes buttons with pictures!!
my prob is i cant get the pics into the buttons!!
thx!
you have to add images to an ImageList, then bind the ImageList to the ToolBar.
:)
Have you got your button images in an imagelist? If so, then go to the properties on the toolbar (right-click it and choose properties). Bind the imagelist to the imagelist property on the general tab, and then click on the buttons tab. In the image property, type the number of the image in your imagelist.
what kind of toolbar is this? my friend and i use special flatbutton control that he developed and put them in a row to make our toobars 'cause the control works really well. basically if you're trying to make a toolbar look very graphical i recommend using buttons. if you just want pictures then too bad for you. :D
Here's the control
no i've got nothing like a picturelist or else!
i don't get this already ... could anyone post a demo or else!
thx Longbow:eek:
imagelist is a control. It's under Microsoft Common Controls.
To insert, click on project --> components.
Scroll down the list and select Microsoft Common Controls.
Then, on your toolbar, double-click on the imagelist button (it's a little white square thing).
To insert images, right-click on the imagelist control that you've just drawn on your form. Click on properties. In there, you can add images.