Source language: Translate to:

pressing enter in text entry

General questions about NeoBook

Moderator: Neosoft Support

pressing enter in text entry

Postby yanzco » Fri Jan 09, 2015 5:35 am

hello guys..
how can i make something like this..

text entry box appears.. asks to input something...
when the user types stuff... then presses "ENTER key"
the textentry recognizes it thus storing the entered stuff to a variable, etc...
note: the text entry has ok and cancel button below just like an inputbox...

just like an inputbox...
you can enter stuffs, then when pressing enter.. it recognizes it and presses the OK button
yanzco
 
Posts: 175
Joined: Sun Jul 20, 2014 4:07 am

Re: pressing enter in text entry

Postby yanzco » Fri Jan 09, 2015 5:50 am

ok, i think i got it..
i just used KBhotkey..
when the text entry shows .. it enables the ENTER hotkey..
then when hotkey pressed... does a subroutine, along disabling the enter hotkey..

:D
yanzco
 
Posts: 175
Joined: Sun Jul 20, 2014 4:07 am

Re: pressing enter in text entry

Postby CN_Iceman » Fri Jan 09, 2015 10:32 am

Good idea... thank's for share.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: pressing enter in text entry

Postby fkapnist » Mon Jan 12, 2015 12:46 pm

here is a simple javascript answer to your question:

https://www.cs.tut.fi/~jkorpela/forms/enter.html

.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 2 guests