Crainiate Community

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

How to prevent "unselectable link heads"?

Last post 07-09-2008 11:02 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-08-2008 10:59 PM

    • Richie
    • Top 25 Contributor
    • Joined on 04-10-2006
    • Posts 4

    Left Hug [{] How to prevent "unselectable link heads"?

    Hi,

    I have encountered an annoying bug that results in unselectable links in the model.  If you set the model to link mode, then click once a table and once on the model then a link head is added at the location of the second click.  What makes this a pain is that they link head cannot be selected for deletion (see screenshot below).

    Anybody got a workaround for this?

    Thanks,
    Richie

     Bad Links!

    Filed under: ,
    • 198.102.62.165
  • 07-09-2008 11:02 PM In reply to

    Re: How to prevent "unselectable link heads"?

    That is a good looking app ..

    You could try overriding Runtime.CanAdd() and adding specific logic to check if the start and end location match (and line.Start and line.End.Docked = false) and returning false if it looks like a lin hasnt been drawn.

     

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