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.

Cursore type changes to select all ( required default)

Thread ID:

Created:

Updated:

Platform:

Replies:

79856 Mar 2,2009 07:43 AM Mar 17,2009 11:00 AM Windows Forms 7
loading
Tags: Tools
Nikhil Nirmal
Asked On March 2, 2009 07:43 AM

Hi,
On the diagram we draw some Nodes, when cursor move on that Node it's type get changes to slect allbut we required it as default.
for this purpose we write the code on daigram.MouseMove Event
==============================================
SymbolRectangle _SelectedRectangle = new SymbolRectangle();

if ((this.daigram.Controller.GetNodeUnderMouse(new Point(e.X, e.Y))).GetType() == _SelectedRectangle.GetType())
{
_SelectedRectangle = (SymbolRectangle)(this.digProcessMacro.Controller.GetNodeUnderMouse(new Point(e.X, e.Y)));

this.Cursor = Cursors.Default;
}

But that cursor get Vibrating when move the Cursore on that Node





Issues_ce12107b.zip

Administrator [Syncfusion]
Replied On March 5, 2009 11:34 AM

Hi Nikhil,
Sorry for the delay in response. I have created a sample and tested for the issue you are facing and the issue couldn't be solved in the way you are trying too. If you are trying to prevent the user from selecting the node then you can go for (Node).EditStyle.AllowSelect = false; Which prevents the user from selecting the node and the cursor will be of Default type. If this workaround does not satisfy your requirement please reply with your exact requirement so that i can work on it.

Regards,
Dinesh


Nikhil Nirmal
Replied On March 6, 2009 01:40 AM

Hi Dinesh,
(Node).EditStyle.AllowSelect = false; which is preventing the user from selecting the node
But user want following action on the node
1. Select the node
2. Double click on that node.
But for this action he want to move on the Node, and when he move the cursor on the node he required the cursor Default type.

Please help me, User required this.
Please reply earliar as possible.

Thanks in Advance,














>Hi Nikhil,
Sorry for the delay in response. I have created a sample and tested for the issue you are facing and the issue couldn't be solved in the way you are trying too. If you are trying to prevent the user from selecting the node then you can go for (Node).EditStyle.AllowSelect = false; Which prevents the user from selecting the node and the cursor will be of Default type. If this workaround does not satisfy your requirement please reply with your exact requirement so that i can work on it.

Regards,
Dinesh




Administrator [Syncfusion]
Replied On March 9, 2009 12:59 AM

Hi Nikhil,
Sorry for the delay in response. In order to achieve your requirement i have created a custom tool and override one of its methods that actually does the cursor change to AllSize.
Please download the sample from the link given below.

http://files.syncfusion.com/support/samples/Diagram.Windows/F79856/main.htm

Regards
Dinesh


Nikhil Nirmal
Replied On March 9, 2009 05:00 AM

Hi Denesh,

Thanks you, very much.
it's working well
Onces again thanks....



>Hi Nikhil,
Sorry for the delay in response. In order to achieve your requirement i have created a custom tool and override one of its methods that actually does the cursor change to AllSize.
Please download the sample from the link given below.

http://files.syncfusion.com/support/samples/Diagram.Windows/F79856/main.htm

Regards
Dinesh




Nikhil Nirmal
Replied On March 11, 2009 04:28 AM

hi denesh,

your code is work successfully. it means when cursor goes on Node then it type is default but we get another problem it not allowed to select the Node.

Thanks in advance
Nikhil.


Nikhil Nirmal
Replied On March 11, 2009 04:29 AM

hi denesh,

your code is work successfully. it means when cursor goes on Node then it type is default but we get another problem it not allowed to select the Node.

Thanks in advance
Nikhil.






Administrator [Syncfusion]
Replied On March 17, 2009 11:00 AM

Hi Nikhil,
Sorry for the delay in response. I tried to select the node in the sample that i have provided to you and it is working fine in it. I could able to select the node and do all other functionality in it. Please let me know the exact steps to reproduce the issue.

Regards,
Dinesh


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.

;