Thread: GUI *blocking*
View Single Post
  #9  
Old 06-23-2006, 06:57 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
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
Reply With Quote