Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Symmetric (Read 4356 times)
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Symmetric
Oct 2nd, 2007 at 4:49pm
Print Post  
How come whenever I use the Symmetric=True property on a TreeLayout I always get this error?

Automation error
The object invoked has disconnected from its clients.

Even happens in the FCX Sample Apps(such as Layouts.vbp)

Thanks,
Alan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Symmetric
Reply #1 - Oct 3rd, 2007 at 1:47am
Print Post  
It works fine for me. Could you email me the saved flowchart and your TreeLayout property values with which you are getting that error?

Stoyan
  
Back to top
 
IP Logged
 
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Re: Symmetric
Reply #2 - Oct 3rd, 2007 at 3:55pm
Print Post  
Running the VB "Layouts" project from the Sample applications installed with FXC will produce the error.

If I run the project, Select any of the layouts from the left menu strip, and try to apply any kind of layout while using the "Symmetric" option at the top it will produce the following error.

Run-time error '-2147417848(80010108)':

Method 'ArrangeDiagram' of object 'IFlowChart' failed.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Symmetric
Reply #3 - Oct 3rd, 2007 at 5:07pm
Print Post  
It still works fine here. What version of the control are you using?

Stoyan
  
Back to top
 
IP Logged
 
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Re: Symmetric
Reply #4 - Oct 3rd, 2007 at 5:15pm
Print Post  
4.1.1.0
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Symmetric
Reply #5 - Oct 4th, 2007 at 7:48am
Print Post  
I have sent you a flowchart.dll that should work better. Open the private messages area from the link at the top of this page to find it.
  
Back to top
 
IP Logged
 
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Re: Symmetric
Reply #6 - Oct 4th, 2007 at 2:48pm
Print Post  
Thanks, that seemed to fix the error, however it has had severe negative effects on the layout of my diagrams.

I think I can do without the Symmetric property, although it would be nice.

Thanks,
Alan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Symmetric
Reply #7 - Oct 4th, 2007 at 5:20pm
Print Post  
Symmetric places half the root's children at one side of the root, and the other half at the opposite side. The first branch of the tree grows in the TreeLayout.Direction, and the other branch in the opposite direction. If your code relies on the TreeLayout using the same direction for all children, you might have to modify it to accommodate for the two directions being used with the Symmetric option.

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