JS Window Events
andy
30 Jul 2012
onOpen probably makes sense - I can add that - already should work for Dialog. Not sure about the other two tho - or if browsers even report those hooks.
SlimerDude
30 Jul 2012
onOpen probably makes sense
That'd be great. I'm looking for a consistent (in Java / JS) way to kick off code when I open the main window.
SlimerDude
30 Jul 2012
Am I right in thinking some fwt::Window events are not invoked in JS? The following :
using fwt class Wotever { private static const Log log := Log.get("Wotever") Void main() { window := Window(null) window.onActive.add { log.warn("onActive") } window.onFocus.add { log.warn("onFocus") } window.onOpen.add { log.warn("onOpen") } window.open } }in Java prints:
...but nothing in JS?