LimeSeed Posted June 12, 2008 Share Posted June 12, 2008 Is There Any Way To Get Coordinates from an image in a gui? something like "guictrlgetcoord"? global $warming = true Link to comment Share on other sites More sharing options...
smashly Posted June 12, 2008 Share Posted June 12, 2008 (edited) ControlGetPos ( "title", "text", controlID ) Edit: You'll find it in the Help File under "Window Management -> Controls" Edited June 12, 2008 by smashly Link to comment Share on other sites More sharing options...
LimeSeed Posted June 12, 2008 Author Share Posted June 12, 2008 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 $ballgi 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 More sharing options...
smashly Posted June 12, 2008 Share Posted June 12, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now