Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic After dragging node, it should be selected, how? (Read 1606 times)
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
After dragging node, it should be selected, how?
Mar 16th, 2008 at 1:18pm
Print Post  
I have an unselected node. I then drag it (without selection it or clicking and releasing first) and then release it somewhere else.

It seems to remain unselected. How can you ensure that whenever a node is dragged, it should be selected once the drag operation is complete? Otherwise you have to click it again which is unintuitive.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: After dragging node, it should be selected, ho
Reply #1 - Mar 17th, 2008 at 8:12am
Print Post  
If you set DiagramView.ModificationStart = AutoHandles, the node should be automatically selected. Is that how you have implemented your drag operation?

Stoyan
  
Back to top
 
IP Logged
 
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Re: After dragging node, it should be selected, ho
Reply #2 - Mar 18th, 2008 at 3:08pm
Print Post  
Yeah that is how I have it but it's not remaining selected after I click and move it.

I guess I should clarify when i drag it, I am in one step clicking with mouse down and then moving and then releasing. It should remain selected but does not.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: After dragging node, it should be selected, ho
Reply #3 - Mar 18th, 2008 at 3:20pm
Print Post  
Are you sure you aren't deselecting the node in response to some event, e.g. NodeModified? Could you post here your DiagramView and Diagram initialization code?

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