Forum Discussion

guoguo's avatar
guoguo
Contributor
9 years ago
Solved

How to achieve the absolute postion for a web object

Hi all,

 

I am trying to achieve the absolute postion for a web object, e.g., button. I want to get the left and top postions of this button. Does any one have an idea?

 

 

Best Regards,

  • Hi,

     

    WindowToScreen() and ScreenToWindow() functions - is this what you are looking for?

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    WindowToScreen() and ScreenToWindow() functions - is this what you are looking for?

    • guoguo's avatar
      guoguo
      Contributor

      Hi Alex,

       

      Thank you! That is the exact function which I am looking for.

       

       

      Thanks,