Sign in to follow this  
Followers 0
spytek_98

Determing X, Y, Width, Height Of A Control

4 posts in this topic

Is there a way to get the x, y, width and height of a control once the GUISetControl has been called?

Ie Is there a function that could do something like this $width = GUIGetControlWidth("input 1")?

If not, any workarounds would be great.

Thanks

Spy.

Share this post


Link to post
Share on other sites



try ControlGetPos("Gui Title", "", "Button Text or classnamenn") it returns an array with the x, y, width and height.


Who else would I be?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

http://www.autoitscript.com/forum/index.ph...&st=0&p=26051

This very recent change might make it possible to use ControlCommands with the GUI reliably; I haven't had a chance to try yet.

Edited by CyberSlug

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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