getSuperTip and getScreenTip callbacks are useless in case of Ribbon labels
I have been asked that some callbacks don't work for the labelContol, from the predefined set of Fluent UI controls.
The Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3) article from the MSDN library provides the following attributes for the labelControl:
The "Gridlines" and "Headings"don't show tips at all. That's a good indicator that labels don't display screen or super tips.
As a workaround you may use a button control where you can set the enabled attribute set to false to get it displayed like a label control. But screen and super tips will be shown anyway.
The Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3) article from the MSDN library provides the following attributes for the labelControl:
- enabled
- getEnabled
- getLabel
- getScreentip
- getShowLabel
- getSupertip
- getVisible
- id
- idMso
- idQ
- insertAfterMso
- insertAfterQ
- insertBeforeMso
- insertBeforeQ
- label
- screentip
- showLabel
- supertip
- tag
- visible
The "Gridlines" and "Headings"don't show tips at all. That's a good indicator that labels don't display screen or super tips.
As a workaround you may use a button control where you can set the enabled attribute set to false to get it displayed like a label control. But screen and super tips will be shown anyway.