Hello Dave,
The keytip attribute assigns a KeyTip for the combo box. KeyTips are
sometimes known as access keys or accelerators. KeyTips indicate what key
to press to access program functionality when using the keyboard access
systems. To use a KeyTip for a control on a custom tab, you first set a
KeyTip for the tab or use the default KeyTip assigned by Microsoft Office.
Then you assign a KeyTip for the control. For example, in the code example,
below, the tab has a KeyTip equal to Z. The comboBox1 combo box has a
KeyTip equal to A1. When the Office Fluent Ribbon is displayed, pressing
the key combination ALT displays the Keytips for the tabs. Then pressing z
brings the focus to the custom tab. And finally, pressing the key
combination A+1 shifts the focus to the combo box.
<?xml version="1.0" encoding="utf-8" ?>
<customUI xmlns="
http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage" >
<ribbon startFromScratch="false">
<tabs>
<tab id="tab1" label="ComboBox Demo" keytip="z" >
<group id="group1" label="Demo Group">
<comboBox id="comboBox1"
enabled="true"
getText="GetText"
getLabel="GetLabel"
image="camera.bmp"
getShowLabel="GetShowLabel"
getShowImage="GetShowImage"
getScreentip="GetScreentip"
supertip="This is a supertip for the combo box."
keytip="A1"
visible="true"
getItemCount="GetItemCount"
getItemLabel="GetItemLabel"
getItemImage="GetItemImage"
getItemScreentip="GetItemScreentip"
getItemSupertip="GetItemSupertip"
onChange="OnChange" />
<comboBox id="comboBox2"
label="Insert More Text."
getText="GetText"
imageMso="TableDrawTable" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
You could refer this article:
Adding Custom Combo Boxes to the 2007 Office Fluent User Interface
http://msdn2.microsoft.com/en-us/library/bb400925.aspx
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)