default button for a form

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

default button for a form

Postby lesouef » Mon Feb 15, 2010 4:47 pm

Assign a button to be the default button of a form, or be able to assign [return] as the mnemonic.
Application: login, passwd, enter > nothing happens: while the web standards have established strong habits...
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: default button for a form

Postby Harjo » Mon Feb 15, 2010 5:11 pm

place the same method you have on the button, to the onAction of the login & password field.

this way you have even better control, on which fields you want to fire which method..
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: default button for a form

Postby lesouef » Mon Feb 15, 2010 6:10 pm

yes, good workaround, I thought tab would also trigger "onAction" but it does not.
however, setting return as mnemonic would be far quicker then setting all fields with [return] method.
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests