Hi, I'm trying to use a list with at least two columns and have the following
supply function in use:

_supply: [
        ; do we have enough data?
        if count > length? project-list [face/show?: false exit]
        face/show?: true

        ; get project
        current-project: pick project-list count

        ; add stripes look to the list
        face/color: ivory
        if even? count [face/color: ivory - 50.50.50]

        ; change color if project is selected
###     if current-project/selected [face/color: yellow]

        ; we use the current index to pick the entry from our object to display
        ; first current-project gives the list of fields in the object
        ; +1 skips the self reference
        field: pick first current-project index + 1
        face/text: current-project/:field

        ; store the project index into the predefined user-data field of the face,
        ; so that we can later access it
        face/user-data: count
]

The line marked with ### should set the color of each column to yellow but only
the first column is displayed with a yellow background color. The other columns
change the color as soon as I click on the face. Why aren't the other faces
color get updated too?

--
Robert M. M�nch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax   : +49 (0)721 8408 9112
Web   : http://www.robertmuench.de

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

Reply via email to