Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories
by craigcornish » Thu May 30, 2019 8:33 pm
I have searched and found some old posts regarding this issue; however, they didn't help.
I have a Username/Password login control with a UI button that is used to call a method that will perform validation.
How do I code such that when I press the "Enter" key that the validation method fires?
Thank you all ahead of tme.
-
craigcornish
-
- Posts: 5
- Joined: Fri May 24, 2019 7:17 pm
by lwjwillemsen » Fri May 31, 2019 9:01 am
The onAction-method of a text box element is triggered by entering the Enter button.
Regards,
Lambert Willemsen
Vision Development BV
-
lwjwillemsen
-
- Posts: 680
- Joined: Sat Mar 14, 2009 5:39 pm
- Location: The Netherlands
by rgansevles » Fri May 31, 2019 9:42 am
craigcornish,
A OnAction handler on textfields is fired when the user presses Enter.
Rob
Rob Gansevles
Servoy
-
rgansevles
-
- Posts: 1927
- Joined: Wed Nov 15, 2006 6:17 pm
- Location: Amersfoort, NL
-
Return to Programming with Servoy
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 23 guests