>> What's the path to the faces of the text in a text-list?  I assume they're 
>a block of faces somewhere in the text-list object?
>> 
>
>No, sorry, there is no block of face in a text-list.
>
>The text-list is one type of face called iterated-face : there is only one 
>subface.
>The pane is not a face or a block, but a function that is called to display 
>each data with the subface.
>the secret of text-list is in its 'init block and its 'text-pane function.

Ah - finally!  Never noticed text-pane before.  (Which is most strange...)  What I was 
wanting to do was to have different colored lines of text.  Can now...

view layout [
    t: text-list "aaa" "bbb" "ccc"
    button "Change" [
        repeat line 3 [
            face: t/text-pane t/iter line
            insert face/text join line " "
            face/font/color: pick reduce [red green blue] line
            show face
        ]
    ]
]

Many thanks.

-- Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to