28 Feb
2000
28 Feb
'00
5 p.m.
I've a class with a property myparent This property needs to be set after a new instance is added or when the instance is moved. Thanks to people from the list, I know I've to make an external method and add the external method manage_afterAdd to the methods of the class. This is how the method looks: def manage_afterAdd(self,item,container): item.myparent=container.id return Unfortunately, when I add a new instance and then look at the myparent property, the property is empty, while it should have a value. What am I doing wrong? tom.