Perform a search using Enter Key

Forum to discuss the Web client version of Servoy.

Perform a search using Enter Key

Postby juan.cristobo » Fri Jan 24, 2014 5:46 pm

In web client I put a button to enter find mode. When the user wants to perform the search, he has to click a button, but i'd like to use Enter key (as in smart client). Is it possible?
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am

Re: Perform a search using Enter Key

Postby grahamg » Fri Jan 24, 2014 10:40 pm

Juan

Attach the OnAction function that is linked to your button to the Search Input field and it will work in WebClient. You can also link your OnAction function to onDataChange on a Combobox - although this can confuse users if they are not expecting it.
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Perform a search using Enter Key

Postby juan.cristobo » Mon Jan 27, 2014 11:02 am

Thanks! I'll try it.
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 9 guests