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.

Undo function for movement of nodes using curson keys

Thread ID:

Created:

Updated:

Platform:

Replies:

80517 Apr 7,2009 11:45 PM Apr 8,2009 12:33 PM Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On April 7, 2009 11:45 PM

Hello All,

I am using Diagram Class to display some nodes. I have to move the nodes using cursor keys but the problem is the movement is not registered in History and hence I cant carryout UNDO functionality. So I wanted to know how to register the movement function in History so that I can do UNDO after that.

Thanking you,
Punith


Administrator [Syncfusion]
Replied On April 8, 2009 12:33 PM

Hi Punith,

Sorry, I couldn't able to reproduce the issue you have mentioned. The History manager registers the node movement using cursor keys and hence i can able to undo the changes using the following code.

diagramForm.Diagram.Model.HistoryManager.Undo()

Please let me know if I miss anything.

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.

;