Form property for focusFirstField

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

Form property for focusFirstField

Postby BobK » Thu Apr 05, 2007 3:32 pm

When a user opens a data entry form, I would like the first field to have the focus. That way the user can start typing immediatly instead of having to tab into the field first. Right now, the only way to accomplish this is to have each form execute a method onShow that sets the focus. For me, most of these methods have only 1 command,
'currentcontroller.focusFirstField()'.
If there was a form property to set this, I could get rid of these methods.

This new property could be one of two types. Either a check box that if checked, currentcontroller.focusFirstField() would be executed when the form is shown or a property that the developer would enter the name of the field that would request the focus when the form is shown.

This is a 'nice to have' instead of a 'need' but I would not think it would be too hard to implement.

Thanks for considering this.
Another Servoy Newbie
Bob
BobK
 
Posts: 18
Joined: Wed Mar 21, 2007 7:29 pm
Location: Cincinnati, Ohio, USA

Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 16 guests