Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with treeview
Message
From
29/07/2003 11:17:57
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Problems with treeview
Miscellaneous
Thread ID:
00814541
Message ID:
00814541
Views:
30
Hello everybody !

In my form i show structured data from a table in a treeview ! (building,floors,rooms,environment)
(All records of the table have an objektid and an in_objektid. A floor is in a building,A room in in an floor, enviroment is in a room)

Here my problems:
a)
I don't know how to set the behavior of the treeview to autoexpand !??
(only the first node is shown and users have to click a lot to expand all nodes)

b)
Is it posible to do a drag and drop within the treeview ??
I want to select an node(some environment for example,the objektid is part of the text and can be extracted) , then start draging the node to another node and do some coding when dropping.
(the selected environment is now in the room where the user drops it)
I'm to stupid to get this running.
I don't know how to start draging a node(olecontrol.seleteditem.drag ?????)
I don't know how to get some information about the node where the use drops??
(I want to code something like: search the objektid of the draged node in my table and replace the in_objektid of the record with the objektid of the of the node where the user drops the selected node)

Any help welcomed

Best regards

Albert
Next
Reply
Map
View

Click here to load this message in the networking platform