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

[REBOL] windows events

From: ammoncooke::yahoo at: 3-Oct-2001 16:56

Hi, Just finished the Event Handler howto... The last line states, "It is better to use the INSERT-EVENT-FUNC function to set window event handlers. This function allows multiple handlers for each window. It will be discussed separately." Is this seperate enough for someone to discuss it with me? ;) I tried this: insert-event-func [redraw: func[f a p] [ wrkspc/size: (mn/size - 140x75) show wrkspc show bldr-cr ]] it returned this: ** Script Error: evt-func is missing its p argument ** Where: wake-event ** Near: return either evt-func [event] [none] I have also tried several other things, & looked at all the source I could find. Thanks!! Ammon