Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Expandable box limit (Read 2227 times)
T.Pascal
Guest


Expandable box limit
Mar 9th, 2006 at 7:49am
Print Post  
Hi,
After having set an expandable box, i'd like to limit the expand up to a specified box .
i.e. : I've set 'BeginLoop' has an expandable box, all child of this box now disapered form canvas if i press on the minus sign (i've set 'RecursiveExpand' to True ) and i'd like to set 'EndLoop' has the end of the expand. And when the box is minimized , i'd want to show a link bewen 'BeginLoop' and 'EndLoop'. 

thanks.

ps: i'm working with VB.net
  
Back to top
 
IP Logged
 
T.Pascal
Guest


Re: Expandable box limit
Reply #1 - Mar 9th, 2006 at 8:28am
Print Post  
after having collapse and created an arrow linking BeginLoop/EndLoop, on expand the arrow created have to be deleted.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Expandable box limit
Reply #2 - Mar 9th, 2006 at 9:32am
Print Post  
Hi,

Handle the TreeExpanded and TreeCollapsed events. If it's the BeginLoop node being expanded or collapsed, delete or create the temporary arrow and make sure the EndLoop node is Expanded.

Stoyan
  
Back to top
 
IP Logged
 
T.Pascal
Guest


Re: Expandable box limit
Reply #3 - Mar 9th, 2006 at 10:50am
Print Post  
oki , but i still don't know how to limit the expand to EndLoop node
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Expandable box limit
Reply #4 - Mar 9th, 2006 at 11:38am
Print Post  
You cannot stop the expand there, but you can handle those events and show the Endloop node and its children again if they are hidden from collapsing the Beginloop branch.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint