Profile Picture

Mnemonic support in NTabControl

Posted By Partho Sarathi 12 Years Ago
Author
Message
Partho Sarathi
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 9, Visits: 1
Does the NTabControl support mnemonics in the Title of the Tab Pages so that users can easily switch between tabs by pressing the appropriate shortcut? If not, I can implement that feature in an extended control. The trouble I am having is that when I specify the & character in the TabPage's title, it is literally drawn into the title. How do I make it underline the proceeding character as it does in Menus and Buttons?

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 16 hours ago
Posts: 3,043, Visits: 3,777

Hello Partho,

This feature is already present in NTabControl.

If you set the Text property of the NTabPage to a value which contains & it will be treated as mnemonics and should be showed as underline.



Best Regards,
Nevron Support Team



Partho Sarathi
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 9, Visits: 1
That is so dumb of me. I was using the .NET Framework Tab Control.

Thanks for your help. It works like a charm.



Similar Topics


Reading This Topic