2007 Dec 17 12:26 PM
Hi experts,
I have a Problem with drag&drop within simple_tree_control.
Drop after a node is no problem, but how can I find out, if the draged node must be inserted after or before the node that are marked for drop.
Please send me an answer.
Thx for advance
Angelika
2007 Dec 17 1:00 PM
hi,
take a look to program "SIMPLE_TREE_DRAG_DROP_DEMOF01"
you can control the behavior - storing in the internal table -
probably you need various methods for this.!
hi,
take a look to program "SIMPLE_TREE_DRAG_DROP_DEMOF01"
you can control the behavior - storing in the internal table -
probably you need various methods for this.!
2007 Dec 17 1:00 PM
hi,
take a look to program "SIMPLE_TREE_DRAG_DROP_DEMOF01"
you can control the behavior - storing in the internal table -
probably you need various methods for this.!
2007 Dec 17 2:06 PM
Hi,
have you experiance in programing drag and drop ?
I don't see, what I have to do.
Maybe you can give me an explanation.
Thanks
Angelika
2007 Dec 17 2:39 PM
hi,
the structure of the internal table e.g. MTREESNODE shows you how to handle a node or a leaf.
e.g.
lines of code in "SIMPLE_TREE_DRAG_DROP_DEMOF01" at 158.
if you want to drag new objects as node - you need one method(event-handling - ON DROP)
and one method for dragging new objects as leaf.
in the event handler you have to read your int.table to figure out is it a leaf or node where to append.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |