sagipolley
03-04-2006, 10:48 PM
Hi,
I have a tree-like structure that can be any number of levels deep (replicated, recursed).
My question is—for a specific subview, how can I find the ID of the instance of the class that is the root of the tree?
The root could be the current view's parent, parent.parent, parent.parent.parent, or whatever.
(I am trying to avoid referring to a specific instance of the class from within the class—if I do that, I can't reuse it...)
TIA,
Martin
I have a tree-like structure that can be any number of levels deep (replicated, recursed).
My question is—for a specific subview, how can I find the ID of the instance of the class that is the root of the tree?
The root could be the current view's parent, parent.parent, parent.parent.parent, or whatever.
(I am trying to avoid referring to a specific instance of the class from within the class—if I do that, I can't reuse it...)
TIA,
Martin