Re: [Gambas-user] Fwd: Need help on treeview

2009-04-28 Thread Fabien Bodard
hi olivier Thank you for you help and this is the correct code now : Public Sub WalkOnTree() TreeView1.MoveFirst() While TreeView1.Available ' ***Do what you want here* Print TreeView1.Item.Key ' If TreeView1.MoveChild() Then

Re: [Gambas-user] Fwd: Need help on treeview

2009-04-28 Thread linus
Hi, This my code. I hope that you search for your project: Public sub Compte_Item() DIM KEYSAV as Integer ColumnView1.MoveFirst() WHILE ColumnView1.Available KEYSAV = ColumnView1.Item.Key ' Do what you want here IF ColumnView1.MoveChild() THEN 'PRINT "No child"