Is it possible to use an image as a command button? I have a few command buttons on my form and don't really like the boring look of the default buttons. Id like to be able to design my own button to use, any ideas?
Bryan
Printable View
Is it possible to use an image as a command button? I have a few command buttons on my form and don't really like the boring look of the default buttons. Id like to be able to design my own button to use, any ideas?
Bryan
You could use the Graphical style of the standard command button.
You can assign an image to the button.
You could use a picturebox with a up picture and when the pic is
clicked you can change it to a down image. Not quite that simple,
but that would be the logic.
HTH
Or you can just do:
But changing the graphics of a command button would be better, since commands buttons are made to do this.Code:Private Sub Image1_Click()
'Code Here
End Sub
Then you can also change the images, MouseOver, MouseDown, MouseUp status' to do diffrent effects or show diffrent pics for each thing.
Take a look at my submission on http://www.planetsourcecode.com/vb/s...20043545056452
It will not be hard to implement what you are trying to do. Only need to change RECT for placing a picture in all the command button