Click here to Skip to main content
Click here to Skip to main content
Go to top

Enhanced XP Button

, 9 Dec 2003
Rate this:
Please Sign up or sign in to vote.
Enhanced XP Button

Introduction

The enhanced XP style button is very easy to use and it supports Rectangle, Circle or Ellipse shape with image and different colors. This control also inherits most of the properties from Forms.Button.

This control is created based on Joaqs’s XP button in his Windows XP-like Controls. I add the properties BtnStyle, BtnShape and made the properties Image and ImageAlign work for this control. The reason that I selected Joaqs’s XP button to work is that the button inherited from Forms.Button and it has the basic XP button functions. So I got the authorization from the Joaqs to add some more features and post it for the people who like it.

Link

Usage

  1. Add the control to the Toolbox.
  2. Drop the control to the WinForm.
  3. Select the properties:
    • BtnStyle : Default, Blue, Olivegreen, Silver for different looks
    • BtnShape: Rectangle and Ellipse (if you set the size of the button as a square you get a circle button)
    • Image: load the image for the button.
    • ImageAlign: to set the layout of the image. (only supports MiddleLeft, MiddleRight, TopCenter and Center)

You can still adjust the image location by changing the property value of the of AdjustImageLocation to move the image around until you are satisfied.

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

Share

About the Author

Member 572469

United States United States
No Biography provided

Comments and Discussions

 
QuestionCan't dowmload Pinprofessional面朝大海23-Apr-14 4:16 
GeneralImage problem Pinmemberhkrnic9-Jul-06 1:00 
QuestionQuick Question? PinmemberVectorX20-Nov-05 14:31 
GeneralCan't download source code Pinmembergp_mk3-Jan-05 22:10 
QuestionHow to use it? PinmemberWeiye Chen19-Feb-04 17:07 
AnswerRe: How to use it? PinmemberWeiye Chen19-Feb-04 20:59 
GeneralResource Issue Pinmemberdraellix19-Jan-04 5:39 
GeneralBuild Errors Pinmembermikeperetz17-Dec-03 12:30 
Generalbuild Errors Pinmembercsadler15-Dec-03 3:48 
GeneralRe: build Errors Pinmemberfuzzylintman15-Dec-03 4:26 
GeneralRe: build Errors Pinmembercsadler15-Dec-03 12:51 
GeneralRe: build Errors Pinmemberxiao hong27-Feb-04 1:58 
GeneralRe: build Errors PinmemberOscarjofre6-Sep-05 5:15 
GeneralRe: build Errors Pinmembersfdkuhudkj10-Mar-06 6:29 
GeneralVery important question! PinmemberA. Riazi9-Dec-03 22:40 
GeneralRe: Very important question! PinmemberDaniel Turini9-Dec-03 23:06 
GeneralRe: Very important question! PinmemberBalkrishna Talele10-Dec-03 22:43 
GeneralRe: Very important question! Pinmemberrfmobile11-Dec-03 23:16 
GeneralRe: Very important question! PinmemberDaniël Pelsmaeker13-Dec-03 8:24 
GeneralRe: Very important question! Pinmember__MadHatter__10-Feb-04 11:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140922.1 | Last Updated 10 Dec 2003
Article Copyright 2003 by Member 572469
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid