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

[REBOL] Re: Clear area

From: arolls::bigpond::net::au at: 6-Aug-2001 15:26

> How can I clear a text area? i've used > my-area/text: "" show my-area
The empty string referred to above will change when the user types something into the gadget. You can change that to; my-area/text: copy "" show my-area or as you tried; clear my-area/text show my-area Anyway this works for me: view layout [ a: area "hello^/world" button [clear a/text show a] ] (or [a/text: copy "" show a] )