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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shortcut key in tabcontrol 1

Status
Not open for further replies.

alfer

Programmer
Jun 12, 2003
41
0
0
PL
Hi!

I have a tab control on my form. I would like to add a shortcut key for each page, so it could be used without mouse and without many many TABs.
I can't find any property in controltabs properies for this. I have tried to use the &-sign in Text property of tabPage, but it doesn't work.

Help me
Thanks
 
use the forms property KeyPreview and set it to true, then use the form's events called KeyDown to track any combination of keys that are being pressed, then change the tab page accordingly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top