Sign in to follow this  
Followers 0
Kreatorul

Get control current position

4 posts in this topic

How can I get the current position of a buton? It's for a game. For example when I press "a" GuiCtrlSetPos should be "current position + 10" I searched the helpfile but couldn't find anything on this

Share this post


Link to post
Share on other sites



You can probably use ControlGetPos.


Who else would I be?

Share this post


Link to post
Share on other sites

Sorry couldn't find that.....i am so blind

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Sorry couldn't find that.....i am so blind

I think that function should be renamed to go with all the other GUI functions

I remember having trouble finding this one too...

Should be like 'GUICtrlGetPos()' to match up with 'GUICtrlSetPos()'

It would make it MUCH easier to find

Edited by Paulie

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