Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Connectors question

Last post 11-14-2007 6:59 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-14-2007 12:35 PM

    • tmn
    • Top 25 Contributor
    • Joined on 11-07-2007
    • Posts 5

    Connectors question

    Hello,

    How is it possible to avoid changing of the cursor shape when moving the mouse over the connector's start or end point?

    • 87.245.188.130
  • 11-14-2007 6:59 PM In reply to

    Re: Connectors question

    You can change any cursor by looking at the Component.Instance.Cursors collection and modifying the cursor depending on the type of handle.

    The following code indicates the cursor for the Origin handle type where this is the key.

    Cursors.Add(HandleType.Origin, System.Windows.Forms.Cursors.PanNorth);

    You can replace PanNorth with your own cursor eg Arrow, or a custom cursor loaded using Component.Instance.LoadCursor. Make sure you remove the current entry for Origin first

     

    Filed under: , ,
    • 81.132.167.123
Page 1 of 1 (2 items)