Jump to content
Sign in to follow this  
Ibrahim

TinyMiny Question

Recommended Posts

Ibrahim

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
LarryDalooza

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
Ibrahim

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
picaxe

Try GUICtrlSetState(controlID, $GUI_FOCUS)

Share this post


Link to post
Share on other sites
NELyon

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  

×

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.