Tooltips in the Diagram


Author
Message
Patrick Bergeron
Patrick Bergeron
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)
Group: Forum Members
Posts: 7, Visits: 1

Hi,

I removed all the Controller Tools from my NDiagramView because I wanted a read-only diagram.  This works well; however, now I am trying to display tooltips and wonder if they are not working because I have some required Tools missing.  I tried to go back and add the default ones using the designer, but I am getting an error in Visual Studio 2010, something about not being able to instantiate NTool because it is abstract.

Before I spend too much time on this, here is the code I use:

shape.Style.InteractivityStyle = new NInteractivityStyle(string.Format("Remarks: '{0}'", attrib.Value));

I thought that if I hover over this shape in the diagram it would show the tooltip.  I confirmed in the debugger that my InteractionManager is set to a valid object.  Not sure what else could be wrong other than a missing Tool in the Controller.Tools collection.  Any ideas?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search