Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide button's border when click

Tags:

vb.net

In my program, when I clicked the "question mark button" it shows another form as shown in the image below. But the button's border is shown, how can I make it transparent? enter image description here

like image 410
elvinguitar Avatar asked May 23 '26 19:05

elvinguitar


1 Answers

The only way to alter the border of a 'standard' button is to draw it yourself. This would also be the best way to overcome your problems with the Image. Or you can set the flat appearance as below...

 Me.button1.FlatAppearance.BorderSize = 0

You can do this on the load event if you want.

like image 80
Trevor Avatar answered Jun 04 '26 17:06

Trevor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!