Jump to content
Sign in to follow this  
dpaynebrown

Position, width, and height of an input field

Recommended Posts

dpaynebrown

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
SmOke_N

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
dpaynebrown

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.