Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: fields and keyboard

From: rotenca:telvia:it at: 31-Jan-2002 15:04

Hi, Brett stylize/master [ upper-case-field: field with [ feel: make feel [ redraw: func first :redraw append second :redraw [if act = 'show [face/text: uppercase face/text]] ] ] ]
> Ooo I like that. :)
Is a taste question, but... If the string is short and the window is not complex, not in a 200kb string or in a 200 faces window (i have a program of mine which uses this sort of monster, you can think at a spreadsheet). In general, it is a waste of time: Redraw slows window rendering and the function continues to uppercase the already uppercased chars at every show. A little thing: [face/text: uppercase face/text] can be [uppercase face/text] --- Ciao Romano