Source language: Translate to:

Cursor control

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Cursor control

Postby seanie » Sun Nov 17, 2013 2:11 pm

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.
Last edited by seanie on Sun Nov 17, 2013 2:49 pm, edited 1 time in total.
seanie
 
Posts: 47
Joined: Tue Jul 31, 2007 9:33 am

Re: Cursor control

Postby Gaev » Sun Nov 17, 2013 2:45 pm

seanie:

Take a look at the FocusObject command.
User avatar
Gaev
 
Posts: 3738
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Cursor control

Postby seanie » Sun Nov 17, 2013 2:51 pm

Geez, that was shockingly easy! :D

Thanks Gaev!
seanie
 
Posts: 47
Joined: Tue Jul 31, 2007 9:33 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: Bing [Bot] and 1 guest