dear all,

i borrowed the code of treeview from http://www.phpmvc.net/asm/, and modified a little bit to implement the drag&drop functionality. now it can do the d&d recursively with all the children items, but sometimes it doesn't work. did i miss something?

note: the following two procs are added by me.
InsertSon	proc htreeview,dest,src
                    ; to insert src as dest's child

IfIncest proc htreeview,son,father
                    ;to prevent the parent item inserted into its child item.
                    ;return 0 ok;
                    ;return 1 bad.

thanks and happy new year!
Attachments:
Posted on 2007-12-30 21:58:16 by zhihui