Positioning panel
Good morning
I would like to place this on the top right panel
but the panel is always at the center
how can I do to fix this?
var win = new Window("palette", "PANEL");
win.cancel2Ok = win.add('panel', [10,495,300,540], "");
win.closeButton = win.cancel2Ok.add("button", [10,10,280,35], "CLOSE");
win.onDeactivate = function(){
win.update();
};
var closeWin = false;
win.closeButton.onClick = function(){
closeWin = true;
win.close();
};
win.onClose = function(){
closeWin = true;
};
win.show();
while(closeWin == false){
app.refresh();
};
