Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to Drag something to the Box of FlowChart (Read 1723 times)
wushuang83
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jul 1st, 2009
How to Drag something to the Box of FlowChart
Jul 1st, 2009 at 8:28am
Print Post  
I have a TreeList control,I'd like to Drag one of Nodes to the Box of FlowChart that I drawn.

Could anyone told me a doable method.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Drag something to the Box of FlowChart
Reply #1 - Jul 1st, 2009 at 8:51am
Print Post  
Hi,

You could handle the MouseDown event raised for the TreeView and call DoDragDrop. This is shown in the Flowcharter example for a ListView. Handling a drop operation over a node is shown in the TreeLayout example.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
wushuang83
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jul 1st, 2009
Re: How to Drag something to the Box of FlowChart
Reply #2 - Jul 1st, 2009 at 9:15am
Print Post  
Thx for your suggestions,nd I've done with another method.
Get the mouseposition,flowChart.ClientToDoc()
Use the Box.BoundingRect to do it.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint