Shortcut key on Tab control Item |
Post Reply |
Author | |
Jonathan
Newbie Joined: 29 November 2004 Location: Australia Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 29 November 2004 at 1:16am |
Hi, I see no way of assigning a shortcut key to a tab control item. The obvious way of doing it by setting the caption to "&Contacts" does not work as the ampersand is displayed. Is this a bug? If so please fix it ASAP. If not please put it in ASAP! Thanks Jonathan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You must add method manually: In properties window set KeyPreview = True and Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If (KeyCode = Asc("M")) And ((Shift And vbAltMask) > 0) Then ... End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
If we have to manually implement the shorcut key combination, how will the user know which shortcut key to use when selecting a tab? Without the ability to underline a character in the tab display (as is the Windows convention), the user will typically not know the key combination. Could you consider implementing the ability to place an ampersand in the caption that indicates the shortcut character so that the programmer can provide hints about which shortcut key to press? |
|
Jonathan
Newbie Joined: 29 November 2004 Location: Australia Status: Offline Points: 6 |
Post Options
Thanks(0)
|
I agree. We can't do it manually since we can't display the shortcut key combo. Realistically we shouldn't have to implement this manually anyway since most Tab controls support this functionality automatically. When I was evaluating the control I didn't test this as I assumed it would be there. It would be really great if this feature could be added... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Ok, I see. In next version we will add DrawTextNoPrefix property of TabPaintManager. Thank you for suggestion. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |