[REBOL] Re: Help on View
From: ryanc:iesco-dms at: 20-Aug-2001 10:24
Something even more interesting happens when you use this code for the clean button:
button "clean" [testo/text: copy "" show testo]
Seems you can peek through rebols memory as you push it repeatedly. Kinda fun.
Anyhow, my explanation is that its a big fat bug, and a good excuse to use feedback.
--Ryan
Luca Truffarelli wrote:
> Can someone explain me the reason of a strange behavior?
> The following code doesn't clean the "area" field.
>
> Just press "valorize" and then "clean".
>
> Thanks.
>
> REBOL [
> ]
>
> Preview-form: layout [
> button 150x24 "valorize" [valorize]
> testo: area "testo" 700x200 wrap below
> button "clean" [clear testo/text show testo]
> ]
>
> valorize: func[] [
> testo/text: {<titolo>12234567891 asdfg, asdfghjk - aswedfrtg azxcdftre
dsr gjftptyf <p>
> lkdjflkdsjflkdsjflkdsjflks flkdsjflkds flkjdslkfjdslkf lkdsj flkdslkfj dslkfjdslkj
flkds fkds flkslk fjdslkjflkds flkdj fklsd
> } show testo
> ]
>
> view/title Preview-form "Test"
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Ryan Cole
Programmer Analyst
www.iesco-dms.com
707-468-5400