I think your problem is that the util__Event object doesn't have a method
called get_event(). It has member variables source, type and param, with
corresponding get methods. (The source is in uni/lib/event.icn)
Hope this helps.
>
> 98
> 99 # Browse for image1
> 100 method on_image1_browse_btn(ev)
> 101 local result, eventname, container, code
> 102 eventname := ev.get_event()
> 103 container := ev.get_container()
> 104 code := ev.get_code()
> 105 # can I write stuff -- where will it go?
> 106 write("event " || eventname || " from " ||
> 107 container || " with code " || code ||
> 108 "\n")
>
> line numbers (added by vim : set number ) not actually in the source.
>
>
> Is there any way to get the variable name of the offending thing into the
> stack trace (by adding some debugging flags?) and is there an example
> available of how to use the events passed in to handler methods for
> buttons, anywhere?
>
> Thank you,
> Hugh
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group