Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ArrowClicked Event is not working.. (Read 1464 times)
bemorem
YaBB Newbies
*
Offline


MacPro Xeon Quad

Posts: 44
Joined: May 3rd, 2007
ArrowClicked Event is not working..
Dec 12th, 2008 at 8:47am
Print Post  
ArrowClicked Event is not working on Background Box.

We need arrow click event handling, but i snot work on backgound large rectangle-node.

Is it impossible?

test capture screen here:
http://pic7.ohpy.com/up/elbbs/2008/12/12/161924/1600002679/mid_quest1.gif

thanks in advance.
  

HW: MacPro Xeon Quad/ 4GB RAM&&OS: WinXP sp3 / .NET 3.5&&Dev: VS 2008 C# sp1&&flowchart .Net ver 4.3.x&&
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ArrowClicked Event is not working..
Reply #1 - Dec 12th, 2008 at 1:04pm
Print Post  
I can't remember if there is a HitTestPriority property in v4.3. If it's available there, see what happens if you set it to ZOrder.

Stoyan
  
Back to top
 
IP Logged
 
bemorem
YaBB Newbies
*
Offline


MacPro Xeon Quad

Posts: 44
Joined: May 3rd, 2007
Re: ArrowClicked Event is not working..
Reply #2 - Dec 15th, 2008 at 6:11am
Print Post  
I'll go with arrow_selecting event .

Code
Select All
	  private void Form1_Load(object sender, EventArgs e)
	  {
		Box b0 = flowChart1.CreateBox(0, 0, 50, 50);
		b0.ZBottom();
		b0.Locked = true;

		Box b1 = flowChart1.CreateBox(10, 10, 10, 10);
		Box b2 = flowChart1.CreateBox(90, 80, 10, 10);
		Box b3 = flowChart1.CreateBox(80, 50, 10, 10);

		Arrow a1 = flowChart1.CreateArrow(b1, b2);
		a1.PenWidth = 2;
		Arrow a2 = flowChart1.CreateArrow(b2, b3);
		a2.PenWidth = 2;

		flowChart1.Behavior = BehaviorType.Modify;

		b1.Locked = true;
		b2.Locked = true;
		b2.Locked = true;
	  }
	  // Only This event works normally.!
	  private void flowChart1_ArrowSelecting(object sender, ArrowConfirmArgs e)
	  {
		MessageBox.Show("good");
	  }
 



Thanks.
  

HW: MacPro Xeon Quad/ 4GB RAM&&OS: WinXP sp3 / .NET 3.5&&Dev: VS 2008 C# sp1&&flowchart .Net ver 4.3.x&&
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint