Page 1 of 1

TreeView recreate the tree

Posted: Thu Jul 13, 2006 9:48 am
by Maurizio
It is possible delete all the item , and recreate the tree ?

regards Maurizio

Posted: Thu Jul 13, 2006 12:39 pm
by Detlef Hoefner
Hi Mauricio,

did you try oTrView:DeleteAll() ?

After you may use the method ::Add() to recreate your tree.

Regards,
Detlef

Posted: Thu Jul 13, 2006 12:57 pm
by Maurizio
Detlef

there is not :DeleteAll() in the treeview class.

I have a old tree32.lib but it is with a old PCODE, there are the source for recompile ?

Regards Maurizio

Posted: Thu Jul 13, 2006 1:10 pm
by Maurizio
Detlef

sorry ::DeleteAll() works very well .

Thank

Maurizio

Posted: Thu Jul 13, 2006 1:13 pm
by Detlef Hoefner
Mauricio,

the oldest version of FWH i have on my disk is FWH 2.5.
The DeleteAll() method already exists in the tTreeviw class of FWH 2.5.

Unfortunatelly i don't have an idea about a tree32.lib.

Regards,
Detlef