----- Original Message -----
From: "Christian Langreiter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 1:42 AM
Subject: [REBOL] REBOL/View problems and questions


> Hi REBOLs,
>
> I'm pretty new to /View (I've played with it about a year ago but since
> I have forgotten everything I knew about it) and I've to say it looks
> _good_. However, on my adventurous rides the first troublemakers are
> showing up. So those are my questions:
>
> A. I have a text-list in a layout. How can I change its contents at
> runtime? Nothing I have tried (tl/text, /texts, /data) worked. Is it
> possible at all?

Here is a very quick one. (Perhaps someone can dig out Sterling's example
which resizes the dragger for the contents, I don't have it on this machine)

view layout [tl: text-list "a" "b" "c" [append tl/data random 10 show tl]]

>
> B. I have a field in a layout the contents of which are changed via a
> button (f/text: "blah!"). Problem: Once I manually enter data into the
> field, I can't change it programmatically any more. Is this a bug or
> behaviour to be expected?

Use copy if you are assigning the "value".

view layout [f: field button "Click" [f/text: copy "blah!" show f]]

Cheers,

Allen K

>
> Best wishes and thanks in advance,
> Chris
>
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to