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";

          other actions/reactions?
)

thank you!



> > > I wish to create a routine to convert to uppercase everything 
typed
> >  > inside the field.
> 
> This is not automatic (you have to exit the field before it folds), 
but it 
> 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
> ]
> 
> 
> unview/all
> view layout [field1: field [fold-field/upper face] 
>              field2: field [fold-field/lower face]
>              ]
>              
> 
> Sunanda.
> -- 




--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Obiettivo Laurea? vuoi migliorare il tuo metodo di studio? 
Per informazioni
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=213&d=30-1  
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to