Sign in to follow this  
Followers 0
dpaynebrown

Position, width, and height of an input field

3 posts in this topic

How do I retrieve the X and Y coords, height, and width of an input text field in a GUI? For example, GUICtrlCreateInput() is of course used to create one, but what can be used to determine the position and size of it later in the script?

Share this post


Link to post
Share on other sites



How do I retrieve the X and Y coords, height, and width of an input text field in a GUI? For example, GUICtrlCreateInput() is of course used to create one, but what can be used to determine the position and size of it later in the script?

Look at ControlGetPos().

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Look at ControlGetPos().

Yep, completely overlooked window controls ... like they didn't even exist! WAY too focused on GUI stuff methinks. Edited by dpaynebrown

Share this post


Link to post
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
Sign in to follow this  
Followers 0