Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Do not create Boxes, while dragging (Read 1743 times)
IBS
Guest


Do not create Boxes, while dragging
Nov 16th, 2005 at 7:08am
Print Post  
Hi,

I dont want Boxes to be creates while dragging with the mouse over the doc area. How can I suppress this?

private void flowChart1_BoxCreating(object sender, BoxConfirmArgs e)
{
e.confirmed = false;
}

only cancels the creation, but still draws it.

Second: I only want arrows to be created, if a certain flag is set.

Thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Do not create Boxes, while dragging
Reply #1 - Nov 16th, 2005 at 7:17am
Print Post  
Hi,

Set the flowchart.Behavior property to BehaviorType.Modify. That will only allow selecting and moving items. Set flowchart.Behavior to BehaviorType.CreateArrow to allow drawing only arrows.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint