Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arrow Selection and Collapse/Expand Functionality (Read 1667 times)
Vidhya Ganesan
Guest


Arrow Selection and Collapse/Expand Functionality
Jun 21st, 2006 at 9:03pm
Print Post  
I came across Flowchart.net and am using trial version. We have 2 clarifications.

1)  Arrow Selection :

I have a Box A.  On top of it i draw two boxes B and C and attach both the boxes to A by using AttachTo API.  I draw an arrow to connect boxes B & C. When i draw the arrow, i am able to select it. But once i select box B/C and then click on the arrow, box A gets selected instead of the arrow. I am not able to select the arrow. Let me know if there is a way to make the arrow selectable.

2) Expand/Collapse:

I have two boxes A and B. A is connected to B(A--> B) . "A" contains few more boxes inside it.  I have marked A as expandable.

On Expand/Collapse of "A", i try to show/hide all the boxes present inside "A". I dont want B to get collapsed when i click on "A".  How can i avoid collapsing "B"?

Regards
Vidhya Ganesan

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow Selection and Collapse/Expand Functional
Reply #1 - Jun 22nd, 2006 at 5:58am
Print Post  
arrow selection:  set HitTestPriority to ZOrder

expand/collapse: try handling the TreeCollapsed event and in the handler set B.Visible = true, and if there are some boxes connected to B call B.Expand() .

Regards,
Stoyan
  
Back to top
 
IP Logged
 
Vidhya Ganesan
Guest


Re: Arrow Selection and Collapse/Expand Functional
Reply #2 - Jun 22nd, 2006 at 10:49pm
Print Post  
Thanks.

Arrow Selection is working fine.


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