Bon La Lay
May 2nd, 2001, 10:24 PM
As far as I know, in TreeView control, if any of the leaf of the tree has no child, then
there will no be a 'plus' sign befor the line. But I have a problem. Before the user click
the plus sign, I will not query the children leaf of the present one. so I need the plus
before the user click it (if after user's click there's no children, then the plus will disappear)
You know, if I query all of the tree, it will cost me a very long time to build the tree ).
So I have to query it when the user need it.
I try to find some settings on the Treeview control , but failed. Any one can give me some hints?
//-----------------------------------------\\
Where there's a wire , there's a way
\\-----------------------------------------//
there will no be a 'plus' sign befor the line. But I have a problem. Before the user click
the plus sign, I will not query the children leaf of the present one. so I need the plus
before the user click it (if after user's click there's no children, then the plus will disappear)
You know, if I query all of the tree, it will cost me a very long time to build the tree ).
So I have to query it when the user need it.
I try to find some settings on the Treeview control , but failed. Any one can give me some hints?
//-----------------------------------------\\
Where there's a wire , there's a way
\\-----------------------------------------//