I am attempting to implement some mouse-over functionality in a GoDiagram control I use to create org. charts.
My first step was to try to have the cursor change from a pointer to a hand. This behavior is demonstrated in the TreeApp example in your sample projects.
I have the GoWeb.js file included in my project, as in the TreeApp sample.
I have verified that the goDoMouseOver function is called at the appropriate times, and that it runs without error. But, the goSearchEvent function that is called from within goDoMouseOver never returns a ‘pointer’ cursor when the user “mouses over” a node in my diagram. A ‘pointer’ cursor is returned from goSearchEvents in the TreeApp sample when a node experiences a mouse over event.
I can’t figure out why my project behaves differently.
In the Northwoods.GoWeb.Instruments.xml document, the description for the OnMouseOver event states the following:
“Change the cursor to Cursors.Hand if the user can modify the value of this indicator interactively.”
but, I am not sure I understand “if the user can modify the value of this indicator interactively” means.
Is there something that I have failed to enable that would allow this behavior to occur?
Can you point me in the right direction?
My eventual goal is to have the nodes in my org chart change color on mouseover, in addition to changing the mouse pointer to a hand. If that is possible.
As always, thanks for any help you can provide.