Nevron Forum

Mnemonic support in NTabControl

https://www.nevron.com/Forum/Topic5996.aspx

By Partho Sarathi - Tuesday, January 3, 2012

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?
By Nevron Support - Tuesday, January 3, 2012

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.

By Partho Sarathi - Tuesday, January 3, 2012

That is so dumb of me. I was using the .NET Framework Tab Control.

Thanks for your help. It works like a charm.