Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic modify related boxes (Read 1376 times)
T.Pascal
Guest


modify related boxes
Feb 28th, 2006 at 8:34am
Print Post  
hi ,
i want to delete a box, but before that , i'd like to modify the tag of all the box related by an arrow that the destination box , is the one I want to delete.
how could i do to find back the boxes ?
(i've tryed with findArrow and findBox without succes)

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: modify related boxes
Reply #1 - Feb 28th, 2006 at 9:12am
Print Post  
Hi,

Try with

Box b = ...;
foreach (Arrow link in b.IncomingArrows)
   (link.Origin as Box).Tag = ...;

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint