Jump to content

Position, width, and height of an input field


Recommended Posts

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?

Link to comment
Share on other sites

  • Moderators

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.

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...