Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic a bug of flowchart? (Read 2595 times)
apple
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Apr 27th, 2007
a bug of flowchart?
Apr 27th, 2007 at 12:09pm
Print Post  

1. when i click a box in my flowchart ,in function flowChart1_BoxClicked the flowChart1.Selection.Boxes.Count is 1.

2. But  when i click a ControlHost in my flowchart, in function flowChart1_ControlHostClicked the
flowChart1.Selection.ControlHosts.Count is zero.

can anyone explain why ?
thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: a bug of flowchart?
Reply #1 - Apr 27th, 2007 at 12:21pm
Print Post  
The clicks happen in different windows and are handled in different functions. It seems that the FlowChart.MouseUp handler first selects the clicked object and then raises BoxClicked. The ControlHost.OnControlMouseUp method, which handles clicks on the control window, first raises the ControlHostClicked event and later selects the node.

Stoyan
  
Back to top
 
IP Logged
 
apple
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Apr 27th, 2007
Re: a bug of flowchart?
Reply #2 - Apr 27th, 2007 at 12:33pm
Print Post  
Stoyan ,thank you !
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint