Hello Sunanda,

thank you, that did it. I just replaced if none? tb/text [tb/text: a/1] with
if none? tb/text [unview/all] because when I'm through with the strings I
want to quit the view.

Cheers
Yvan]

On  2.01.2005, you wrote:

> 
> Yvan:
>> I hope this is the right place to post it? I'm new here
>> and a beginner with RebView
> 
> Yes it is. Welcome!
> 
> I'd do something like below -- basically, added a button to the layout to 
> cycle around the texts.
> 
> 
> a: ["First text" "second text" "last text"]
> unview/all
> view layout [
> tb: text a/1
> button "next"
>    [
>     tb/text: select a tb/text
>     if none? tb/text [tb/text: a/1]
>     show tb
>    ]
> ]
> 
> 
> Of course, depending on what you are trying to do, this may be the
> solution
> 
> unview/all
> view layout [
>       rotary "First text" "second text" "last text"
>       ] 
> 
> 
> 
> Sunanda
Regards

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to