monitoring visibility on screen of component
Hey all,
I have a component that is part of a complex component hierarchy, and I would like to know when it becomes visible and invisible, but not in the sense of the isVisible() function -- I want to know when it is actually visible or invisible. I tried adding a component listener, but that doesn't really solve the problem unless I add component listeners to the entire component hierarchy, which seems like it could result in some memory leaks unless I know when to remove the listeners. Plus it just feels like there's a better solution than recursively adding listeners and calling isVisible() recursively up the tree every time an event fires. I must be missing something obvious.
Any help appreciated.Tthanks,
bjorn

