Hi Naomi
>If iLayer and myLayer are subclasses from aLayer,
Actually the layers go like this starting with great grandparent
cLayer
iLayer
aLayer
MyLayer
>when how can the parent class know about its children? I think it's impossible.
Yes, that was what I had wanted to do.
Thanks for your replies.