1

So I am using a button on my program, and when I use button1.FlatAppearance.BorderSize = 0; it works fine.

Button Working

But.. when I click on the desktop, it does this.

Button Glitch

How do I fix this?

1 Answers1

1

You can set (hardcode) the border color. With following code line the button1 border color get the parent Control BackColor

button1.FlatAppearance.BorderColor = button1.Parent.BackColor;