Hi,
the focus call on a window widget instance has no effect to set a window
active (blue title bar). The window API has a property for that, here an
example:
popup.addListener(disappear, function(e){
window.setActive(true);
button1.focus();
});
This should do what you are expect.
Cheers,
Hi. I have this little problem controlling the focus between windows and
popups.
Try this example.
When click on Close popup button, why the focus return to Show popup
button, but not the window?
Really, the focus return to window, but the window's title bar remains
white, not blue. When click