Profile Picture

Tooltips in the Diagram

Posted By Patrick Bergeron 13 Years Ago
Author
Message
Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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
Posted 13 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 13 Years Ago
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?





Similar Topics


Reading This Topic