We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

nodeshit

Thread ID:

Created:

Updated:

Platform:

Replies:

44899 Jun 6,2006 01:05 PM Jul 11,2006 06:21 AM Windows Forms 3
loading
Tags: Diagram
Truman Lackey
Asked On June 6, 2006 01:05 PM

In syncfusion 2 I was using the Controller.NodesHit collection in mouse_up event to detect ports being hit. In vers 4 I am not seeing ports being included in the NodesHit collection. Has this behavior changed as designed and if so what other way can I detect ports on a mous_up eveent? Truman

Administrator [Syncfusion]
Replied On July 4, 2006 10:06 AM

Hi Truman, You can detect a symbol''s port collection by using Symbol.Ports property. Kindly look at the following code snippet private void diagram1_MouseUp(object sender, MouseEventArgs e) { if ( this.diagram1.Controller.NodesHit.Count != 0 && this.diagram1.Controller.NodesHit.First is Symbol) { Symbol sym = this.diagram1.Controller.SelectionList.First as Symbol; for(int i=0;i

Truman Lackey
Replied On July 5, 2006 08:34 PM

In ver 2 of Syncfusion diagram the nodesHit collection was including ports that were hit in the collection. In 4.1.0.62 this does not seem to be the case.

Administrator [Syncfusion]
Replied On July 11, 2006 06:21 AM

Hi, Sorry for the inconvenience caused. Adding ports to NodesHit collection has been modified with the latest version. And if your intention is get access to the ports during the mouseUp event . P lease try with the code snippet provided in the previous update and do let us know if you run into any problem with this . We will be happy to assist you. However, I have logged a QA report on this issue . The report id is # 2369 . You can track the report details by referring the following link, http://www.syncfusion.com/support/issues/diagram/Default.aspx?ToDo=view&questId=2369 We will do our best to fix the issues and will get back to you once we fix the issue. Thank you for your support to Syncfusion products. Regards, Praveena.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;