Hello,

I have a new problem with views. Please take a look at the following code:

view layout
 [
  text "Titel" FTitel: field
  button "OK" [if/else [empty? FTitel/text]
              [
               view layout
               [
                text "Enter Title"
                button "OK" [unview/all]
               ]
              ]
              [unview/all]
 ]


What I want to do is:



1. If something is entered in the Field and I click "OK" the view is closed.
2. If nothing is entered in the view and I click "OK" then
   -> a new view is opened with the text "Enter Title" -> without closing
the old view <-
   -> when I click "OK" in the new view, the new view is closed and -> I'm
still left with the old view <-

1. Works
2. doesn't work, as soon as I click OK the old view is closed and a new view
appears.

How can I keep the old view?


Cheers
Yvan

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

Reply via email to