Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hotkey in TabControl?
Message
From
12/08/2005 21:32:43
 
 
To
12/08/2005 01:40:12
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01040478
Message ID:
01040648
Views:
10
Grigore,

>Is there any way to define a hotkey (underlined letter) for each Tab in a TabControl? I tried to insert an ampersand (&)
>in .Text property, but, unlike Button control, it doesn't create the hotkey, but shows the ampersand instead.

You need to draw the tabitems yourself to get the accelerators in the right place:

http://dotnetrix.co.uk/tabcontrols.html look under "Add Mnemonic support to TabPages"
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform