Hello Nick,

thanks, and by the way I'm using YAM as mailer and it doesn't havve this
problem. All you need is a computer able to running MorphOS or AmigaOS to
use YAM.

On 12.05.2006, you wrote:

> 
> 
> Hi Yvan,
> 
> Also, the condition argument of the if/else (either) should not be =20
> enclosed in a block:
> 
> view layout [
> =09text "Title" FTitle: field
> =09button "OK" [
> =09=09either (FTitle/text =3D "") [
> =09=09=09view/new layout=09[
> =09=09=09=09text "Enter Title"
> =09=09=09=09button "OK" [unview]
> =09=09=09]
> =09=09][
> =09=09=09unview/all
> =09=09]
> =09]
> ]
> 
> 
> 
> Quoting Yvan <[EMAIL PROTECTED]>:
> 
>> 
>> 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
>> close=
> d.
>> 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
>> vi=
> ew
>> 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.
>> 
>> 
> 
> 
Regards

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

Reply via email to