Sign in to follow this  
Followers 0
Ibrahim

TinyMiny Question

7 posts in this topic

i want to know how to move between controls as i press enter

like a GuiCtrlCreateinput with data entered then {enter} how can i choose which button [cancel] [ok]

is pressed with that enter

thanks in advance :)

Share this post


Link to post
Share on other sites



Usually if it is just one button that you need to react to the enter key... BS_DEFPUSHBUTTON style for the button. If you want a button to react depending on which input has the cursor... i don't know off the top of my head.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

_GUICtrlButton_SetFocus

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

thanks man that was good and satisfied with it .

but it's not working with EzSkinCreateButton the EasySkin buttons

Edited by Ibrahim

Share this post


Link to post
Share on other sites

Try GUICtrlSetState(controlID, $GUI_FOCUS)

Share this post


Link to post
Share on other sites

Use Accelerators. They've been included for a while and very few people are using them.

Search the helpfile for GUISetAccelerators.

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