>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
Albert,
In addition to Larry and Doug take a look at June2001 issue of UT magazine.
Cetin