Jump to content

Get Coordinates


Recommended Posts

ControlGetPos ( "title", "text", controlID )

Edit: You'll find it in the Help File under "Window Management -> Controls"

but that wont help me get a control in my gui.

i have a picture that i call $ballg

i want to be able to get the x and the y coordinates of the picture.

global $warming = true
Link to comment
Share on other sites

Yep it will help to retrieve the x & y co-ordinates of you picture control.

That is exactly what the function is for to get a controls position.

Have a little read in the help file under "Window Management -> Controls -> ControlGetPos" before dismissing what the function does :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...