Have you tried modifying the list's feel/redraw ?
It starts off as none so you should be able to
put your own code in there no problem.
eg. try this: 

        view layout [
                list 300x300 [button] data [["hello"]["there"]] feel [
                        redraw: func [face act pos][print "redraw"]
                ]
        ]

Anton.

> Hi, I have the following problem: I'm using a list style to 
> display some data.
> For the list style you supply a layout block that gets called 
> once the block
> containing the list style gets layouted:
> 
> mygui: layout [ lst: list 200x200 lstlayout supply lstsupply]
> 
> Than for each row in the list that can be displayed lstsupply is 
> called for all
> columns.
> 
> In my situation I need to execute a block of code once before the 
> list get's
> updated and once the list updated ended. The pattern should be like this:
> 
> - lstlayout once when calling layout
> - lstconstructor once the list drawing starts
> - lstsupply gets called (row * columns) times
> - lstdestructor once the list drawing ended
> 
> Something like this:
> 
> mygui: layout [ lst: list 200x200 lstlayout start lstconstructor supply
> lstsupply end lstdestructor]
> 
> Is this possible? Robert

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

Reply via email to