Hi
this is my first question and I'm from Denmark, so please bear with me and my language...
I have a series of views within a scrollView. I'm trying to get the calculated value of one view's y coordinate according to the screen/window, when scrolling the view. As far as I can see, it should be possible to achieve with convertPointToView. I want to check when the view enters/is scrolled onto the screen/window.
Here is how I try to do it:
var point = moreBtn.convertPointToView({x: moreBtn.getRect().x, y: moreBtn.getRect().y}, win1);
Ti.API.Info(JSON.stringify(point));
But it always returns empty object/array, no what how I try to use it.
I just can't get it to work... Any suggestions??
Thanks in advance
Regards Soren