Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drag and Drop from List to Tree View
Is it possible to drag from a listbox on a userform to a Tree View on the
same useform. The idea being that the dragged item from the Listbox would be a child node of the item its dragged onto on the Tree View. Thanks EM |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drag and Drop from List to Tree View
AFAIK, the Listbox does not support the OLEDrag/Drop events that the tree
view does. Maybe you can fake it with a DataObject created in the ListBox's MouseDown event. http://www.dailydoseofexcel.com/arch...drag-and-drop/ but probably not simple. If you can use a listview control instead (set to a suitable appearance), you could then use the OLE methods between the 2 controls. NickHK "ExcelMonkey" wrote in message ... Is it possible to drag from a listbox on a userform to a Tree View on the same useform. The idea being that the dragged item from the Listbox would be a child node of the item its dragged onto on the Tree View. Thanks EM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Tree view in Excel | Excel Discussion (Misc queries) | |||
tree view | Excel Programming | |||
tree view control | Excel Programming | |||
tree view control | Excel Programming | |||
tree view control | Excel Programming |