You can also do:
PHP Code:
function OBJ.onMouseDown() GraalControl.showtop();
or also (to make it universal) could put this in the GUI creation:
PHP Code:
obj = new GuiWindowCtrl("obj");
with (obj){
//stuff
thiso.catchevent(this,"onMouseDown","onFocusOut");
}
function onFocusOut(){
GraalControl.showtop();
}
But if you are resizing the GraalControl for some reason, showtop will mess it up sometimes.. so be careful
