471,618 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Button FlatStyle params in .NET 1.1

Hi,

Is there a way to achieve the same looks for a flatstyle button in
..NET 1.1 as is done in .NET 2.0 with these properties:

FlatAppearance.BorderSize = 0;
FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

I'm backporting a button and now the border shows, along with the
bgcolor on mouseover and click events.

Thanks,

JB
Jan 19 '06 #1
1 2805
I solved this by inheriting from UserControl, and not from Button.

On Thu, 19 Jan 2006 09:00:38 +0100, Janiek Buysrogge
<J.*********@Televic.com> wrote:
Hi,

Is there a way to achieve the same looks for a flatstyle button in
.NET 1.1 as is done in .NET 2.0 with these properties:

FlatAppearance.BorderSize = 0;
FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

I'm backporting a button and now the border shows, along with the
bgcolor on mouseover and click events.

Thanks,

JB


Jan 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jason Kyle Baginski | last post: by
3 posts views Thread by Zürcher See | last post: by
2 posts views Thread by Curtis Wellborn | last post: by
4 posts views Thread by Arif Çimen | last post: by
3 posts views Thread by Mick Doherty | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.