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. Image for the cookie policy date

Undo function for movement of nodes using curson keys

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


1 Reply

AD Administrator Syncfusion Team April 8, 2009 04:33 PM UTC

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



Loader.
Live Chat Icon For mobile
Up arrow icon