[REBOL] Re: Field color change on error.
From: g:santilli:tiscalinet:it at: 17-Oct-2002 11:34
Hi Louis,
On Thursday, October 17, 2002, 6:55:23 AM, you wrote:
LAT> I want the background of the field to turn red when an invalid email is
LAT> entered....and also the font's color and style (yellow and bold). How do I
LAT> do it?
view layout [
email: field [
if not find value "@" [
face/colors: reduce [red red]
set-font face color yellow
set-font face style 'bold
show face
]
]
]
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r