Button to hold focus while editing field

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Button to hold focus while editing field

Postby sdevlin » Wed Feb 28, 2007 9:02 pm

I've seen other Java UIs implement this:

A user can be editing a field, and a button, such as 'Next' or 'Finish' is painted as if it has focus. Hitting 'Enter' will 'push' the button. This would be very handy for Wizard-Type workflows.

In fact, many Servoy Developer dialogs use this functionality/
How can I do it in Servoy (Or even in Java for that matter)?

Servoy Developer
Version 3.1.3-build 407
Java version 1.5.0_10-b03 (Windows XP)
sdevlin
 
Posts: 125
Joined: Tue Apr 13, 2004 3:33 am

Postby jim » Thu Mar 01, 2007 6:39 pm

Perhaps, use onFocusGained to "color" the button, and onAction to "push" it.

Jim
jim
 
Posts: 270
Joined: Mon Jul 25, 2005 3:42 pm
Location: Maine


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests

cron