function treeallnode(anode:Ttreenode):string;
var
i:integer;
mystr:string;
begin
for i:=0 to anode.Count-1 do
begin
if mystr<>'' then
mystr:=mystr+'|'+trim(trim(anode[i].Text))
else
xxx:=trim(trim(anode[i].Text));
if anode[i].HasChildren then
if mystr<>'' then
mystr:=mystr+'|'+trim(treeallnode(anode[i]))
else
mystr:=trim(treeallnode(anode[i]));
end;
result:=mystr;
end;
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。