Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] list style

From: robert:muench:robertmuench at: 9-Apr-2002 20:32

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