TreeView recreate the tree

TreeView recreate the tree

Postby Maurizio » Thu Jul 13, 2006 9:48 am

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

regards Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Detlef Hoefner » 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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Postby Maurizio » 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
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Maurizio » Thu Jul 13, 2006 1:10 pm

Detlef

sorry ::DeleteAll() works very well .

Thank

Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Detlef Hoefner » Thu Jul 13, 2006 1: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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests