Hi, Ashley

>      f1: "Field 1"
>      obj: make object! [f2: "Field 2"]
>      view layout [obj/f2: text f1]
>
> does not? and yields a different error message to:

You can do:

 view layout bind [f2: text f1] in obj 'self

or

    obj: make object! [
        f2: "Field 2"
        view layout [f2: text f1]
    ]

or
    obj: make object! [
        f2: "Field 2"
        ly: layout [f2: text f1]
    ]
    view obj/ly

or
    obj: make object! [
        f2: "Field 2"
        ly: [f2: text f1]
    ]
    view layout obj/ly

Layout accepts only set-word (not set-path) before a style name.

>      view layout [f1: text obj/f2 obj/f2: text f1]

The error is different because layout "thinks" that the set-path is a facet.
In this case, it assigns the set-path to the f1 definition, because only a
set-word or one of the svv/vid-words or a style name can signal the start of a
new face definition.

---
Ciao
Romano


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

Reply via email to