button

  • Thread starter Thread starter Tony WONG
  • Start date Start date
T

Tony WONG

if the vb.net button back.color is other than white color, there is a white
edge around the button.

it is possible not to show the white edge.

thanks.

tony
 
if the vb.net button back.color is other than white color, there is a white
edge around the button.

it is possible not to show the white edge.

thanks.

tony

Hi Tony,
To remove that border, you need to tweak Button's "Flat Appearance"
property from properties window. For example if you want to have a
button which is completely borderless and flat, from properties
window, make sure you set "FlatStyle" property to "Flat" and under
"Flat Appearance" property, make sure BorderSize is set to "0" (zero).

With these tweaks your button will be borderless with your custom
color which can be other than white.

Hope this helps,

Onur Güzel
 
thanks a lot.


"kimiraikkonen" <[email protected]>
???????:54ace5b1-cd64-485d-b9c4-c3170a32e48e@k19g2000yqg.googlegroups.com...
if the vb.net button back.color is other than white color, there is a
white
edge around the button.

it is possible not to show the white edge.

thanks.

tony

Hi Tony,
To remove that border, you need to tweak Button's "Flat Appearance"
property from properties window. For example if you want to have a
button which is completely borderless and flat, from properties
window, make sure you set "FlatStyle" property to "Flat" and under
"Flat Appearance" property, make sure BorderSize is set to "0" (zero).

With these tweaks your button will be borderless with your custom
color which can be other than white.

Hope this helps,

Onur Güzel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top