Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change Destination Row of Arrows (Read 2636 times)
gannet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jan 28th, 2009
Change Destination Row of Arrows
Jan 28th, 2009 at 12:33pm
Print Post  
Hi there,

Im new here - We are still evaluating the product and have a question...

I have created 2 tables via code - both with 2 rows. I can then create a relation (arrow) between the tables and linked from Row 1 to Row 0 or 1 using the CreateRelation function.

Having created the arrow though is it possible to change the destination row? I see I can get DestIndex from the Arrow but this seems to be read only Sad

Thanks in advance Smiley

-- Gannet.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change Destination Row of Arrows
Reply #1 - Jan 28th, 2009 at 1:19pm
Print Post  
You could remove the link and call CreateRelation again 8) We'll add some setters for the rows in the next few days.

Stoyan
  
Back to top
 
IP Logged
 
gannet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jan 28th, 2009
Re: Change Destination Row of Arrows
Reply #2 - Jan 28th, 2009 at 1:44pm
Print Post  
Ah fanks - At least I'm not going mad Roll Eyes

Setters would be fantastic  Grin
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change Destination Row of Arrows
Reply #3 - Feb 2nd, 2009 at 9:30am
Print Post  
Seems adding property setters would break the control's binary interface and require us to change a bunch of GUIDs, and we don't want to do that right now, so we've added the Table.ChangeRelation(arrow, row, rel) method to let you change the origin or destination rows:

https://mindfusion.eu/_beta/changerel.zip

The 'rel' argument works as in the AddRelation method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
gannet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jan 28th, 2009
Re: Change Destination Row of Arrows
Reply #4 - Feb 2nd, 2009 at 9:39am
Print Post  
Hi,

That's great - thanks a lot  Wink

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