Hot Keys on RibbonBar tabs |
Post Reply |
Author | |
chrisABC
Senior Member Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Posted: 04 July 2008 at 7:15pm |
I have some Tabs in the RibbonBar, and these contain ControlButtons. I have given them Captions with ampersands to denote the Hot Keys, eg &Next
I have set CB.KeyboardCuesUse = xtpKeyboardCuesUseAll = True But only the Tabs have hot keys (access keys). The buttons on the tabs do not. Do I need to switch something else on to enable Hot Keys for the buttons? --------------------------------------------------------------------------------------------- Later: OK, I have now found .KeyBindings which does work. But still not found a way to display the Cues (eg show underline) on these buttons. |
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
parcorea
Newbie Joined: 03 July 2013 Location: Seoul, Korea Status: Offline Points: 7 |
Post Options
Thanks(0)
|
//-----------------------------------------------------------------------
// Summary: // Enumerated type used to determine menu underlines. // Example: // <code> // pCommandBars->GetCommandBarsOptions()->ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault); // </code> //----------------------------------------------------------------------- enum XTPKeyboardCuesShow { xtpKeyboardCuesShowAlways, // Show keyboard cues always xtpKeyboardCuesShowNever, // Never show keyboard cues xtpKeyboardCuesShowWindowsDefault // System defined. };
|
|
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 |