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.

Rectangle/Line Connector selection

Thread ID:

Created:

Updated:

Platform:

Replies:

74166 Jun 2,2008 11:01 AM Jun 5,2008 10:12 AM Windows Forms 4
loading
Tags: Diagram
Mark Attridge
Asked On June 2, 2008 11:01 AM

I am using version 6.2 of the Diagram control in VB (Windows Forms version).

I would like to turn off the selection box and connector points that appear when I select a rectangle and or line connector in a model within my diagram.

I still want to be able to select the rectangle (which will activate another part of my form), but do not want the connector/central/rotation points to appear.

Thank you


Administrator [Syncfusion]
Replied On June 3, 2008 02:02 AM

Hi Mark ,

Thanks for your interest in Syncfusion products.

If your intention is to hide the selection rectangle of a node and EndPoints of a Connector, then you have to derive the View class and override "DrawHandles" method. Please refer to the attached sample that demonstrates this completely.

http://websamples.syncfusion.com/samples/Diagram.Windows/F74166/main.htm

Please refer to it and let me know if this helps.

Regards,
Nagaraj


Mark Attridge
Replied On June 3, 2008 04:27 PM

Thanks for the sample code, but so far I have not been successful.

I have attached a screen shot of the selection box/points that I would like to remove.

Any further help is appreciated.



untitled3_e011ee4d.zip

J.Nagarajan [Syncfusion]
Replied On June 4, 2008 01:23 AM

Hi Mark ,

Please refer to the attached sample in the previous post. We could not see any selection rectangle around the node/nodes. Please refer to the attached video file.

Video:http://www.syncfusion.com/Product/uploads/Video_9a8d79c0.zip

Sample: http://websamples.syncfusion.com/samples/Diagram.Windows/F74166/main.htm

Could you please check the sample and let me know whether you are able to reproduce the issue in this sample? Please let me know if you are addressing something different.

Thanks,
Nagaraj


Mark Attridge
Replied On June 5, 2008 10:12 AM

I was able to implement this successfully.
Thanks


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.

;