FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TreeView recreate the tree
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
TreeView recreate the tree
Posted: Thu Jul 13, 2006 09:48 AM

It is possible delete all the item , and recreate the tree ?

regards Maurizio

Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
TreeView recreate the tree
Posted: Thu Jul 13, 2006 12:39 PM
Hi Mauricio,

did you try oTrView:DeleteAll() ?

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

Regards,
Detlef
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
TreeView recreate the tree
Posted: Thu Jul 13, 2006 12:57 PM

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

Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
TreeView recreate the tree
Posted: Thu Jul 13, 2006 01:10 PM

Detlef

sorry ::DeleteAll() works very well .

Thank

Maurizio

Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
TreeView recreate the tree
Posted: Thu Jul 13, 2006 01:13 PM

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

Continue the discussion