Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Undo & Redo stuff again (Read 3425 times)
mah
Guest


Undo & Redo stuff again
Sep 22nd, 2005 at 12:17am
Print Post  
Currently i am doing the undo and redo successful. but i am wonder how we can do a list of undo items that we can undo.

that's mean like a VS.NET2005, we can undo item the last 20th, then we doesnt need to undo and click for 20 times, but a drop down menu will shown out.

currently i wanna know how to display the history of the undo and redo, then it is enough to manipulate the codes by me. thx a lot

the code should be something like below...

FlowChart1.UndoManager.History.NextUndo. xxxxxxxxxx
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo & Redo stuff again
Reply #1 - Sep 22nd, 2005 at 3:52am
Print Post  
I am afraid you can't access all items in the undo queue at this time. The UndoManager.History object provides access to only the NextUndo and NextRedo records.

We can expose the internal array of records in next release so you can enumerate them all. If it's very urgent and you can't wait next version, try accessing the private "CommandCollection commands" using .NET reflection.
  
Back to top
 
IP Logged
 
mah
Guest


Re: Undo & Redo stuff again
Reply #2 - Sep 22nd, 2005 at 4:32am
Print Post  
oh... then when the next version will be released?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo & Redo stuff again
Reply #3 - Sep 22nd, 2005 at 8:21am
Print Post  
next week, hopefully
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint