Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problems, need some help (Read 2115 times)
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Problems, need some help
May 2nd, 2011 at 8:32am
Print Post  

Hello, i continue working with my project and found new probelms


After put my form inside a scrollviewer, when node is SELECTED, some things not work more, like control + c   for copy, control + v, for paste, and delete key not delete.
Why this happen?


Other problem is no i can move node selected with arrow keys:

   form.CommandBindings.Add(new CommandBinding(Diagram.NavigateLeft, (sender, args) =>
           {
              
               DiagramNode node = form.ActiveItem as DiagramNode;
               if (node != null)
                   foreach (DiagramNode SelectedNode in form.Selection.Nodes)
                   SelectedNode.Move(SelectedNode.Bounds.X - 1, SelectedNode.Bounds.Y);

                  
           }));

How fix this?


Version used is 2.5.2 beta

Best regards
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problems, need some help
Reply #1 - May 2nd, 2011 at 9:28am
Print Post  
Hi,

Set <ScrollViewer Focusable="False" ... >, otherwise the ScrollViewer gets the keyboard focus when you click anywhere in the diagram.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Problems, need some help
Reply #2 - May 2nd, 2011 at 10:08am
Print Post  
Thankyou!

One more question, when plan release version 2.5.2 ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problems, need some help
Reply #3 - May 2nd, 2011 at 10:09am
Print Post  
We are releasing it tomorrow.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint