Hi,

I have a query on how to use list.
I want to know the offset from the *window* of the mouse when I press the down button.
event/offset only gives me the offset from the text field of the list. (see code below)

Any help would be appreciated.

Cheers Phil


rebol []

data: ["AAA" "BBB" "CCC" "DDD" "EEE" "FFF" "GGG" "HHH"]

view layout [
    list [
        f: text 100 feel [
            engage: func [face action event] [
                if event/type = 'down [
                    print event/offset
                ]
            ]
        ]
    ]
    supply [
        if count > length? data [face/show?: false exit]
        face/show?: true
        f/text: pick data count
    ]
]



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

Reply via email to