Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Needs Generic Event for NodeMove (Read 1393 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Needs Generic Event for NodeMove
May 19th, 2009 at 6:25am
Print Post  
Hi Stoyan,

I have some ShapeNodes in my diagram and I can do following operation on them.

1. Node Drag and Drop (one group to another).
2. Selection moved (Select multiple nodes and put them in another place in the diagram).
3. TextPostionChange (Text position of LabelNode which is attached with this Node. Position can be Left/ Right/Top/Bottom).
4. NodeAlignment (Align selected nodes to Left/Right/Top/Bottom)
5. LayoutChange (Horizontal/Vertical/Compact/Hierarchical).
6. DoubleClick on the node.

When any of these operations is performed, I want to set a dirtyFlag for each of the affected Nodes, but when I do nothing and just doubleClick on any Node, Node Modified gets called.
I want a generic event that should be called for each of these operations.

Please suggest something.

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Needs Generic Event for NodeMove
Reply #1 - May 19th, 2009 at 7:46am
Print Post  
Hi,

Please email me a project that shows how double-clicking a node raised NodeModified. Call some method to handle the movement from the Modified handlers, the LayoutNode delegates and from your code that aligns items.

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