Posted 15 years ago
by Joachim Schwieren
Hi,
in the default configuration, a small red box is shown on the last character of a TextRange to which a SmartTag has been added to.
In newer versions of MS Office the full range of a smart tag text is decorated with a curly violet line. I managed to get this behaviour by using a custom span indicator for the smart tag but how can I enlarge the mouse sensitve zone that makes the popup menu appear?
E.g. if I have
This is a smart tag in a text.
And "smart tag" is the range where a SmartTag object is added to I want to see the popup as soon as the cursor hovers on any of the characters in "smart tag", not only on the "g" as it is now.
How can this be done?
Regards,
Joe
in the default configuration, a small red box is shown on the last character of a TextRange to which a SmartTag has been added to.
In newer versions of MS Office the full range of a smart tag text is decorated with a curly violet line. I managed to get this behaviour by using a custom span indicator for the smart tag but how can I enlarge the mouse sensitve zone that makes the popup menu appear?
E.g. if I have
This is a smart tag in a text.
And "smart tag" is the range where a SmartTag object is added to I want to see the popup as soon as the cursor hovers on any of the characters in "smart tag", not only on the "g" as it is now.
How can this be done?
Regards,
Joe