10-15-2013 06:28 AM
I have to pass y position to tooltip in my app. Using Field.getLeft() i got x postion for tooltip.
I tried using Field.getTop() and Field.getContentTop() but it returns 0 always .So its not works for me .
Please anyone tell me how to find y co-ordinate value for ImageButton .
Thanks in Advance.
10-15-2013 07:00 AM
10-15-2013 07:06 AM - edited 10-15-2013 08:19 AM
Remember that position is relative to the Manager. If you want the absolute position of a Field on the Screen, then you need to recurse up the Managers until you get to the Screen.
10-15-2013 07:51 AM