View Single Post
Old July 10th, 2003, 09:43 AM
pgtips pgtips is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default accelerator keys and the tab control

I have a problem with providing accelerator keys for buttons on a tab control.

Keeping it simple to save me typing, if I have a tab control with, say, 3 tabs and each tab has an Update button on it, how can I make it so that the user can hit <alt>U and that will fire the click event of the Update button on the tab that has focus. Needless to say each of the buttons has to have the caption [u]U</u>pdate.

Anyone got any neat tricks for this? Would be much appreciated.