RibbonX - what is keytip?

D

David Thielen

Hi;

There is a keytip attribute listed in
http://msdn2.microsoft.com/en-us/li...iceCustomizingRibbonUIforDevelopers2_Detailed
but it never says what it does. What does it do? And is there somewhere where
all the attributes are documented?

Also, if it is set, my ribbon will not load. However, I can't find any error
message. When Word does not like a Ribbon is there a way to find out why? Or
is this another of Word's lovely if it doesn't work just guess till it does
APIs?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
P

Patrick Schmid [MVP]

Did you activate the UI error message setting? Word Options, Advanced,
scroll to the bottom, Show add-in UI errors.
I'd bet that your RibbonX contains some error. You probably didn't spell
it keyTip.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 
W

Wei Lu [MSFT]

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.)
 
W

Wei Lu [MSFT]

My pleasure, Dave.

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top