2 requests with 4 commands each. I loose 3 of the 8 [message #213208] |
Mon, 03 April 2006 22:30 |
No real name Messages: 9 Registered: July 2009 |
Junior Member |
|
|
I have a box, with subBoxes. Both are placed in what I call Diagram, the
equivalent of a Graph, and the boxes would be vertices.
When I delete a subBox, all subsequent subBoxes must be moved, and the
box resized. I use a CompoundCommand:
1 - DeleteCommand : remove subBox from box (this could be skiped)
2 - DeleteCommand : remove subBox from the Diagram
3 - MoveCommand: move the following subBox (could be multiple of this)
4 - MoveCommand: resizes the box
Now, when I select two subboxes, 2 requests are created with the same
structure above, however, this is what is executed
Req1
1 - DeleteCommand : remove subBox from box (this could be skiped)
2 - DeleteCommand : remove subBox from the Diagram
Req2
1 - MoveCommand: move the following subBox (could be multiple of this)
2 - MoveCommand: resizes the box
3 - DeleteCommand : remove subBox from the Diagram
So I lost 3 commands. Any tips on how to debug this or why is this
happening? I've tried a few things already, but I'm puzzled
Would it help if I provided more detailed description? It would be a bit
long.
thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.02618 seconds