How to display additional information in a tooltip?

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 15 years ago by Charles Mussely
Version: 4.0.0280
I am displaying a xml document.

I have the following node written in my document:
<Numeric Id="field1" Caption="$loc(field1_Loc)" />
I would like to be able to display the value of $loc(field_Loc) (it is defined elsewhere in the xml) in a tooltip when the mouse is over the caption attribute. The default XSD tooltip content should still appear.

How can I do that?

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Charles,

If you inherit our XmlSyntaxLanguage class and override OnSyntaxEditorViewMouseHover, you can call the base method then alter the e.ToolTipText however you need. By calling the base method first it will be populated with our default tip text if any.

Actipro Software Support

The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.