From: Pascal B. <pa...@dy...> - 2000-12-05 19:16:53
|
<-snip-> > 5. use this.lyrobj instead of dyndoc as src in DynLayer.EventMethod(). <-snip-> > wrong. I tested the example dynapi.gui.label in 12.01-beta, and I got the > tag of e.srcElement is <TD> for JSDynLayer2. It seems to me > this.lyrobj is a > better choice as "src" than dyndoc, because "this" layer registered itself > to the event and it can be lower than the dyndoc. To be honest, I'm not sure about this, but it sounds correct and I don't think it causes harm to anything.. "if it doesn't break anything, let's hope it fixes something" :) anybody has another thought? cya, Pascal Bestebroer pa...@dy... http://www.dynamic-core.net |