Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Changing mouse cursor if hovering over invalid port when linking

$
0
0

@incursus wrote:

The title may be a bit self-explanatory, but basically, if a user is trying to connect a link (or relink) to a port in which my linkingtool.linkValidation and relinkingtool.linkValidation says is a no-go, I'd like to temporarily change the mouse cursor from the hand to something else, to indicate that the link cannot be made.

I experimented with linkingTool.doNoLink and it works, but it requires the user let up on the mouse button first. I'd like to catch it sooner if possible. Any ideas on how best to achieve this effect?

Thanks much for any guidance or snippets!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles