0

I made a button in pts and now want to use it as a button in a program. Is there any way to change the image of the button to the one i made or make it function like a button ? tkq

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by leahrose87
0

Add a regular button to your form.
Then set the property FlatStyle to Flat, go to BackgroundImage and select the image you created and finally set the property BackgroundImageLayout to Stretch.

That will make it look like you have created your own button.
Just make sure that the background color of your image is transparent.

0

You can also use picturebox.
Also follow what Oxiegen said, the only different is your using the picturebox.

PictureBox has an event function PictureBox1.Click()

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.