Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Copy/Paste and Undo/Redo (Read 5191 times)
ciccio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Mar 3rd, 2008
Copy/Paste and Undo/Redo
Mar 3rd, 2008 at 8:44am
Print Post  
Can the WpfDiagram support Copy/Paste and Undo/Redo? If not did you plan to develop them? If yes when do you plan to release them?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Copy/Paste and Undo/Redo
Reply #1 - Mar 3rd, 2008 at 12:18pm
Print Post  
There are CopyToClipboard and PasteFromClipboard methods available in the Diagram class. We have recently fixed some bugs in them, and the beta version that we uploaded on Friday should contain the fixes.

To use undo / redo, set Diagram.UndoManager.Enabled = true.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ciccio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Mar 3rd, 2008
Re: Copy/Paste and Undo/Redo
Reply #2 - Mar 3rd, 2008 at 1:50pm
Print Post  
Thank you for your answer.

I set the property but when I press Ctrl+X nothing happens. Is there something else that is missing?
  
Back to top
 
IP Logged
 
ciccio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Mar 3rd, 2008
Re: Copy/Paste and Undo/Redo
Reply #3 - Mar 3rd, 2008 at 1:58pm
Print Post  
I created 2 command bindings and it works. I expected that it would have done it automatically Smiley

Thank you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint