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
 
Back
Top