Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

drag&drop

Former Member
0 Likes
520

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
485

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.!

3 REPLIES 3
Read only

Former Member
0 Likes
486

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.!

Read only

0 Likes
485

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

Read only

0 Likes
485

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.