Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Prevent user drawing more tables. (Read 2004 times)
dasbose
YaBB Newbies
*
Offline



Posts: 6
Joined: Nov 16th, 2005
Prevent user drawing more tables.
Dec 29th, 2005 at 2:06am
Print Post  
I am programmatically adding two tables to a FC control which represent two distinct objects within my app.  The properties of those objects are exposed as rows within the two tables.  I allow the user to draw an arrow from one row to another to define a relationship between the object as one would in an ERD or table diagram.  However, I do not want the user to be able to draw any new tables besides the ones I have placed in the control.

How can I prevent the user from drawing extra tables, yet still allow them to draw arrows from one row to another?  I have the behavior set to TableRelations, but this allows the user to draw new tables.  I set it to modify, and no new objects are drawn, but neither are the arrows.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent user drawing more tables.
Reply #1 - Dec 29th, 2005 at 5:28am
Print Post  
Hi,

Set the Behavior property to 'CreateArrows'. That will let users create only arrow objects, or select and modify existing objects.

Stoyan
  
Back to top
 
IP Logged
 
dasbose
YaBB Newbies
*
Offline



Posts: 6
Joined: Nov 16th, 2005
Re: Prevent user drawing more tables.
Reply #2 - Dec 29th, 2005 at 5:09pm
Print Post  
Grin  Thank you, Stoyan, that works exactly as I need it to.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint