Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Underscored AccessKey on Button

Status
Not open for further replies.

RealQuiet

Programmer
Feb 11, 2001
54
US
How can I underline the accesskey on a web forms button? I am looking for something similar to the old "E&xit", but it takes the "&" literally.
 
It's not going to underline it, but if you press ALT+x it will fire the click event of the button:

btnExit.Accesskey = "x"

hth Daren J. Lahey
Just another computer guy...
If you are unsure of forum etiquette check here FAQ796-2540
 
I have the accesskey set up, and it does work. The problem is that there is no visual clue for the users to tell them that it is there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top