Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic CopyToClipBoard(true,true) (Read 3594 times)
Alex
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Nov 21st, 2006
CopyToClipBoard(true,true)
Mar 26th, 2008 at 7:22am
Print Post  
Hello,

i just tried to change my code from using CopyToClipboard(true, true) to CutToClipBoard(true, true), but I get a NullException if I do this:

bei MindFusion.Diagramming.ConnectionPoint.GetAnchorPos(Int32 anchorIdx, PointF& point)
bei MindFusion.Diagramming.DiagramLink.set_OriginAnchor(Int32 value)
bei MindFusion.Diagramming.DiagramLink.set_OriginIndex(Int32 value)
bei MindFusion.Diagramming.DiagramLink..ctor(DiagramLink prototype, DiagramNode src, DiagramNode dest)
bei MindFusion.Diagramming.DiagramLink.Clone(Boolean clipboard)
bei MindFusion.Diagramming.Diagram.CopySelection(Diagram source, Boolean unconnectedLinks, Boolean copyGroups)
bei MindFusion.Diagramming.WinForms.DiagramView.xd387e793db5b6581(Boolean x14d6ee1d6b77a32d, Boolean xf7b2c9839607605d)
bei MindFusion.Diagramming.WinForms.DiagramView.CutToClipboard(Boolean copy, Boolean groups)
bei HSPforzheim.ProcessDesigner.GUI.DrawForm.compose() in D:\\ProcessDesignerSource\\DesignerApplication\\DrawForm.cs:Zeile 2208.
bei HSPforzheim.ProcessDesigner.GUI.DrawForm.compose_Click(Object sender, EventArgs e) in D:\\ProcessDesignerSource\\DesignerApplication\\DrawForm.cs:Zeile 2153.
bei System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.MenuItem.MenuItemData.Execute()
bei System.Windows.Forms.Command.Invoke()
bei System.Windows.Forms.Command.DispatchID(Int32 id)
bei System.Windows.Forms.Control.WmCommand(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.MdiClient.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This is the Stack trace of this error.

Any ideas?

Best regards,

Alex

UPDATE: This error also happens with the CopyToClipBoard(true, true) method.

I updated from 5.0.2 -> 5.0.3
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CopyToClipBoard(true,true)
Reply #1 - Mar 26th, 2008 at 9:38am
Print Post  
Hi,

Quite a bug indeed - it should be fixed in this version:
https://mindfusion.eu/_temp/fcnet503p.zip

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CopyToClipBoard(true,true)
Reply #2 - Mar 26th, 2008 at 1:37pm
Print Post  
Hi,

Do you mean the CutToClipboard method? It will remove the selected items and the first level of attached nodes. However, if the attached nodes have the AutoDeleteItems property enabled for their subordinate groups, this could lead to deleting a lot of more items. If you are experiencing a different problem - could you explain it with some more details?

Stoyan
  
Back to top
 
IP Logged
 
Alex
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Nov 21st, 2006
Re: CopyToClipBoard(true,true)
Reply #3 - Mar 26th, 2008 at 4:01pm
Print Post  
I found the error which didn't occur in the previous version.

But I do have a trial version of libraries instead of my Pro version  Smiley

Could you please send me an update?

Best regards,

Alex
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CopyToClipBoard(true,true)
Reply #4 - Mar 26th, 2008 at 4:11pm
Print Post  
But was it a Flowchart.NET error?

Thanks,
Stoyan

PS. We haven't built a fixed licensed version yet. In a few hours we are sending patches to everyone that has received a 5.0.3 upgrade.
  
Back to top
 
IP Logged
 
Alex
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Nov 21st, 2006
Re: CopyToClipBoard(true,true)
Reply #5 - Mar 27th, 2008 at 9:42am
Print Post  
No,

it was an error in my application Smiley

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