Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Real XP Style Buttons in VB.NET

0.00/5 (No votes)
28 Apr 2004 1  
An article on Real XP Style Buttons

Introduction

This article is about making a User Control behave and look like a Windows XP Style Button.

Background

Someone posted on the Code Project a Windows XP button. I found that this looked a lot like a VB.Net button whose properties is set to view as a flat button. I expected it to be like the buttons used by the XP calculator. Well I think my result is nearly perfect. See for yourself.

Using the code

If you use VS 2003 you should open all the user controls in designer view. Then it will show on the Toolbox under the My User Controls Tab. If you use VS 2002, it will display on the Tab where all the Windows Controls are displayed.

Points of Interest

Ok, so if anyone who has a better version, or something better than this XP Style button, I would appreciate it if you could share some code.

History

This is the first version and I will change it as it gets better.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here