Hello Sunanda,

thanks, it's amazing how fast people are helping on this list.

Cheers
Yvan
On 12.05.2006, you wrote:

> 
> Yvan:
> 
>> How can I keep the old view?
> 
> Try this:
> 
> view1: view layout
> [
>  text "Titel" FTitel: field
>  button "OK" [if/else [empty? FTitel/text]
>              [
>               view2: view/new layout
>               [
>                text "Enter Title"
>                button "OK" [unview view2]
>               ]
>              ]
>              [unview/all]
> ]
> ]
> 
> 
> Notes:
> 1. I've given the views names so you can unview specific ones
> 2. note the view/NEW on the inner view
> 
> Incidentally: if/else works, but is definitely deprecated in REBOL.
> Consider using either instead.
> 
> 
> Sunanda
Regards

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

Reply via email to