drag from grid into tree Control

Started by CADwiesel, October 12, 2017, 04:24:00 AM

Previous topic - Next topic

CADwiesel

Hi there,
is there an soloution for dragging from an grid into an Tree control?
the event 'DragnDropFromOther wont be fired anyway i do an dropping from other controls.

My idea was to drag an text from an Grid into an item of an tree.

Anny suggestions?

Martin
Gruss,
CADwiesel
Besucht uns im CHAT

roy_043

#1
AFAIK the Grid control does not support drag-and-drop operations.

Note 1:
You typically do not need any code for drag-and-drop operations. All you have to do is set the Drag/Drop Allow Begin and/or Drag/Drop Allow End properties to True.

Note 2:
The DragnDropFromOther event will fire when a drag operation from *another window* is completed.

Note 3:
I am unsure what you mean by dropping 'into' a tree item. If you drop something on a tree item the dropped item will become a new child.