Dont make the same mistake I did and thinking that by using these lines of code you get what you want. The 'GetSelection' should be an obvious clue. What this code does is return where you CURSOR is in the code, not the component that is currently running.
Ill keep looking and let you know if...