Page 1 of 1

Cursor control

PostPosted: Sun Nov 17, 2013 2:11 pm
by seanie
Hello guys,

Is there a command I can use to move the cursor from one text entry box to another? I'm making an app with hidden text entry boxes which only appear when the correct text is entered into the previous one:

If "[TextEntry1]" "=" "xxx"
ShowObject "TextEntry2" "None" "0"

However, it's slightly annoying that the users have to 'manually' move the cursor to TextEntry2. Is there a way to make the cursor move to TextEntry2 after the user puts the correct text into TextEntry1 ?

Thanks for reading.

Re: Cursor control

PostPosted: Sun Nov 17, 2013 2:45 pm
by Gaev
seanie:

Take a look at the FocusObject command.

Re: Cursor control

PostPosted: Sun Nov 17, 2013 2:51 pm
by seanie
Geez, that was shockingly easy! :D

Thanks Gaev!