Jump to content
Sign in to follow this  
spytek_98

Determing X, Y, Width, Height Of A Control

Recommended Posts

spytek_98

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
this-is-me

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
CyberSlug

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  

×

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.