hi, Thank you for answer
This my code but I have problem
parameters cnodo && name of the nodo
local oempty as empty
oempty = newobject([EMPTY])
addproperty(oempty,[borra],.f.)
addproperty(oempty,[modif],.f.)
thisform.mynodeproperties = newobject([Collection])
k=rand()
oempty.borra = iif(k>0.5,.t.,.f.)
thisform.mynodeproperties.add(oempty,cnodo)
*-- When I am creating every node in the treevew I call this method
*-- hitherto to this one well but when I want to assign the value of the
*-- property 'borra'
*-nodeclick
*- (thisform.folder1.page2.chborra.Value) this's an checkbox
*- thisform.folder1.page2.chborra.Value = thisform.mynodeproperties.Item(node.key).borra
*-- error
*-- index or expression does not match an existing member an the collection
Jose Manuel Ramirez