Source language: Translate to:

Text entry field auto advance ?

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Text entry field auto advance ?

Postby dcavern » Sun Mar 14, 2010 3:11 pm

The solution is probably obvious, but I'm missing the boat (yet again)

I've got text entry fields set to accept 4 numbers.

After the user enters the 4th number in the first entry field, I want the cursor to move to the second text entry field without having to hit tab or mouse-click in the next field.

I am at a total loss how I would accomplish this?
Posts: 8
Joined: Wed Dec 30, 2009 9:24 pm

Postby smartmedia » Sun Mar 14, 2010 3:18 pm


You can try this, Put this code in the TextEntry and change the object in the focus command with your next text entry.

Code: Select all
StrLen "[TextEntry1]" "[Count]"
if "[Count]" "=" "4"
FocusObject "NextTextEntryObject"
User avatar
Posts: 889
Joined: Fri Apr 01, 2005 6:50 am
Location: Hellas

Postby dcavern » Sun Mar 21, 2010 9:41 pm

Thanks smartmedia. That is the ideal solution. Perfect. Thank you!!
Posts: 8
Joined: Wed Dec 30, 2009 9:24 pm

Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest