Tooltips in the Diagram


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi,

You are missing the NMouseEventDelegatorTool, which is responsible for dispatching mouse events to the DDOM node behind the mouse pointer. Add this tool to the tools collection for tooltips to start working again.

Best Regards,
Nevron Support Team


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