Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Requires Edit Mode for diagram (Read 1280 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Requires Edit Mode for diagram
Jul 6th, 2009 at 1:37pm
Print Post  
Hi Stoyan,

I have some nodes and links in my diagram. I can do lots of operations on these items.
Now I want,

1). If I set a mode say Edit Mode than only user can do any modification over diagram(like add some nodes and link, delete some nodes and links, move object position etc.)

2). Else diagram should behave as ReadOnly and user should not be able to move/add/delete the diagram items, but user can click/rightclick/double click over any diagram item.

Does MindFusion supported this kind of ReadOnly behavior for diagram?

Many thanks in advance,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Requires Edit Mode for diagram
Reply #1 - Jul 6th, 2009 at 2:04pm
Print Post  
Hi Bala,

You could set diagram.Behavior = DoNothing to implement read-only mode. This will prevent users from modifying the diagram, but the control will still raise click events.

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