I don't think you got it.
If you add one or two lines to DynLayer you can support both EventListeners
and simple events.
8an
___
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> Onderwerp: Re: [Dynapi-Dev] Simple Events
>
>
> But if you are writing your own custom widget that listens for an
> event, how can the user listen for the event as well, except by
> hard coding a generic function call from the widget. Then you
> would have to do this fo
But if you are writing your own custom widget that listens for an event, how can the
user listen for the event as well, except by hard coding a generic function call from
the widget. Then you would have to do this for all of the events that your widget
listens for.
--
// Robert Rainwater
--
What does that mean? If you want me to explain.
You can easily add a line in the DynLayer.EventMethod that can call
["on"+type]
Then you add the definitions of these events and wallah!
8an
___
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sou
Onderwerp: [Dynapi-Dev] Simple Events
>
>
> Although I supplied the file as an extension I just thought of
> another idea.
> If the ppl that be (anyone who can cvs) would agree I can make another
> version of DynLayer that uses EventListeners and simple events with only
> abo
Although I supplied the file as an extension I just thought of another idea.
If the ppl that be (anyone who can cvs) would agree I can make another
version of DynLayer that uses EventListeners and simple events with only
about 2 extra lines of code?
Is it ok?
8an
___