Buttons with no borders - like Xnews/Toolbars

  • Thread starter Thread starter Lucas Tam
  • Start date Start date
L

Lucas Tam

Hello,

Is it possible to make a flat button without a border - like the buttons on
the buttom of the Group List of Xnews.

Thanks!
 
* Lucas Tam said:
Is it possible to make a flat button without a border - like the buttons on
the buttom of the Group List of Xnews.

Have a look at your button's 'FlatStyle' property.
 
(e-mail address removed) (Herfried K. Wagner [MVP]) wrote in
Have a look at your button's 'FlatStyle' property.

Hi,

I gave flat style a try - but there is a border. Do you know if you can
remove the border?

Thanks.
 
* Lucas Tam said:
I gave flat style a try - but there is a border. Do you know if you can
remove the border?

You are right, you won't get the same look as in Xnews. AFAIS you won't
get a ready-to-use solution in the .NET Framework (you can use a flat
toolbar, but these buttons cannot get focus, so it's not an appropriate
replacement to the button control). Have a look at
<URL:http://www.codeproject.com/>, you will find some code samples for
"ownerdrawn" buttons there on which you can base your implementation.
 
Back
Top