Jump to content
Sign in to follow this  
dandymcgee

GUIctrlread finding amount of characters

Recommended Posts

dandymcgee

Is there a way to find how many characters have been input into a gui input control? For instance, I have a gui input control with a max input of 7 characters, and i want to automatically send enter when there are 7 characters in the input box. Is there a way to do this with either a while 1 loop or adlibenable? I searched the forums with no luck, but if i missed this somewhere please feel free to point me in that direction. thanks


- Dan [Website]

Share this post


Link to post
Share on other sites
Thatsgreat2345

obviously put it in a loop

If StringLen(guictrlread($input)) = 7 then
msgbox(0,"yaye","7 things have been put it")
Endif
Edited by thatsgreat2345

Share this post


Link to post
Share on other sites
dandymcgee

hehe "obviously" I feel really dumb, but thanks!!!


- Dan [Website]

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.