We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Navigate to a specific tab using keyboard.

Thread ID:

Created:

Updated:

Platform:

Replies:

75358 Jul 22,2008 11:57 PM Jul 24,2008 03:11 AM Windows Forms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On July 22, 2008 11:57 PM

Hi,

I am using TabControlAdv to group set of tabs. I would like to traverse to a perticular tab directly through keyboard keys. I can traverse between tabs using Ctrl+PageUp and Ctrl+PageDown, but I would like to navigate to a specific tab directly without traversing through other tabs using 'keyboard controls'.

For example, suppose five tabs Tab1, Tab2, Tab3, Tab4, Tab5 arranged in same order. I would like to navigate from a control in Tab2 to Tab5 directly without traversing through Tab3,Tab4 using keyboard.

Is there any way I can achieve this?

Thanks
-Pradeep


Administrator [Syncfusion]
Replied On July 23, 2008 06:45 AM


Thank you for interest in Syncfusion product.

You can use Mnemonic character for Tabpages[Text property].

For example:
this.tabPageAdv3.Text = "Tab&3";

Please refer the simple sample in the below link which illustrates the above:
http://websamples.syncfusion.com/samples/Tools.Windows/75358/main.htm

Please let me know if this helps.

Regards,
Hema


Administrator [Syncfusion]
Replied On July 24, 2008 12:24 AM

Hi,

Thanks for your reply. I want the exact behaviour mentioned in your reply. But I found a problem with it, it works only when the focus is on any of the tab, i.e if the focus is on Tab1 then if I press 5 it is working fine, but if the focus is on any other control like textbox etc.. in tab1 then it is not working.
Could please comeup with a solution for this problem.

Thanks
-Pradeep


Administrator [Syncfusion]
Replied On July 24, 2008 03:11 AM

Hi Pradeep,

Thank you for the update.

If the focus is on any other control like textbox, button..etc then you can use Alt+Mnemonic key [Alt+3].

Please let me know if this help.

Regards,
Hema



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;