Crainiate Community

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

Browse by Tags

All Tags » UpdateActions » DockChanged (RSS)
Sorry, but there are no more tags available to filter with.
  • Re: Connect line and disconnect line

    As I wrote earlier you have to detect whether the connection was changed. e.Actions[0] is the new line e.Actions[1] is the old Start docked element e.Actions[2] is the old End docked element All you have to do is to compare the newline.Start.DockedElement with e.Actions[1] and the same for the End element...
    Posted to Forum by Ireneusz Patalas on 08-03-2007
  • Re: Connect line and disconnect line

    You can use the model.Runtime.CanDock property and override this to determine exactly which docking operation are allowed by the user. You can then use the great advice above (bere in mind that UpdateActions is fired after the actions have been applied to the model), or hook into the line.Start.DockChanged...
    Posted to Forum by James Westgate on 08-02-2007
Page 1 of 1 (2 items)