[JS SUI] How to create activated palette?
Hi all.
I want to show palette as activated status.
I tried to set active property. But it is activated for a while and then deactivated again.
Is it possible?
Thanks in advance. ![]()
#targetengine session
var win = createWindow();
win.show();
win.onShow = function(){
win.active = true;
}
function createWindow () {
var w = new Window ('palette');
var m = w.add ('statictext');
m.text = 'Hello, world!';
return w;
}
