Re: XForms: Goodies and Return key

Frank Stefani (EAD-Frank.Stefani@t-online.de)
Wed, 09 Jul 1997 08:35:17 +0200

To subscribers of the xforms list from EAD-Frank.Stefani@t-online.de (Frank Stefani) :

Steve Lamont wrote:
>
> To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > is it possible to change a goodie button to type "RETURN_BUTTON"?
> > I think it would be quite useful to allow the default button of
> > a question goody to be associated with the return key.
>
> Can you be more specific? Most Goodies already do exhibit this sort
> of behavior.

Take e.g. the Alert goody. It has this RETURN_BUTTON, but

fl_show_input()

or

fl_show_question()

has not. I see no way to associate the "Yes" button with the
Return key. I mean, I have to use the mouse to say "Yes". I use
the question goodie quite often in the manner of "Are you sure?"
and a default for the decision would be IMO very handy.

In addition, since I used

fl_set_resource("flQuestion.yes.label", "Ja");
fl_set_resource("flQuestion.no.label", "Nein");

in my main() to make those labels german, the shortcut keys
are lost ('[Yy]' and '[Nn]' are the shortcut defaults for the
question goody).

Thanks for any hint,
Frank.

-- 
---------------------------------------------------------------
     _/_/_/_/     _/_/     _/_/_/    EAD-Systeme GmbH
    _/          _/  _/    _/    _/   Nachfeldstr. 4
   _/_/_/     _/    _/   _/     _/   D-82490 Farchant, Germany
  _/        _/_/_/_/_/  _/     _/    Phone: +49 8821 9623-0
 _/_/_/_/ _/        _/ _/_/_/_/      Fax: +49 8821 9623-20
---------------------------------------------------------------
Email: EAD-Frank.Stefani@t-online.de
---------------------------------------------------------------

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/