Board index » cppbuilder » TTreeView question?
Veebo
![]() CBuilder Developer |
TTreeView question?2004-05-26 06:29:39 AM cppbuilder71 Hi, I have a TTreeView named TeeView1. It represents the parent-child relationship of the forms created in my software. for example.. Using my software if you created Form1 (will be the root node!) and then from Form1 if you create Form2 and Form3. and from Form2 if you create Form2a then the TreeView1 looks like following... Form1 | |___Form2 | | | |___Form2a | | |___Form3 what I want to do is provide the user to be able to drag Form2a and drop it under Form3, so that Form2a becomes child of Form3. Now I want TreeView1 to look like... Form1 | |___Form2 | | |___Form3 | |___Form2a I can take care of the pointers etc that determine that Form2a now is the child of Form3, but don't know how to take care of the "drag and drop" part I will appreciate your help. thanks, Veebo |