Close dialog when clicking outside?
is possible make dialog close when clicking outside of it? (in style of lightbox popup etc)
i have dialog, reason esc key wont close it.
it has edittext boxes, maybe they're stealing focus keyboard?
version escape
w.addeventlistener ("keydown", function (k) {
if (k.keyname == "escape") {
w.close();
}
answer question - function onclick , try if when mouse position outsite mein window
More discussions in InDesign Scripting
adobe
Comments
Post a Comment