--- Kevin <[EMAIL PROTECTED]> wrote:
> > Very good. Is the addition of a border onfocus
> > optional?
>
> Yes, the onfocus/onblur events are optional (user
> defined)
Just a quick point as I have coded TabManager with
the same onfocus/onblur events. In addition an onsubmit
which will execute a callback function. i.e. When the
user hits <return> or <space> on the selected dynLayer/
widget/tab.
Do you think the user should call the function in their
event handler or have the TabManager do it for them?
I have implemented the first idea at the moment.
var el={
onblur:function(e) { ... },
onfocus:function(e) { ... },
onsubmit:function(e) {
var o=e.getSource();
o.callSubmitFn();
}
}
lyr.addSubmitFn('ds.func1()');
lyr.addEventListener(el);
Perhaps you could have ondblclick as a submit
event with callback function for FocusManger?
-----
Kevin.
> --
> Raymond Irving
>
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/