[REBOL] Re: fields and keyboard
From: riusa:email:it at: 30-Jan-2002 12:10
Thank you! This is a simple but good idea!
This solution reminds me of another question:
I didn't know the code following a "field" was executed as soon as the
user left the field...
where can I find all the "default" actions executed by a object/view?
(buttons: "click button" then "exec the code";
"exit field" then "exec the code";
> > > I wish to create a routine to convert to uppercase everything
> > > inside the field.
> This is not automatic (you have to exit the field before it folds),
> may be enough.
> rebol 
> fold-field: func [face /upper /lower] [
> if upper [face/text: uppercase face/text]
> if lower [face/text: lowercase face/text]
> show face
> view layout [field1: field [fold-field/upper face]
> field2: field [fold-field/lower face]
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Obiettivo Laurea? vuoi migliorare il tuo metodo di studio?
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=213&d=30-1