Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Closing Gui Windows (https://forums.graalonline.com/forums/showthread.php?t=83140)

Ronnie 12-13-2008 05:08 PM

Closing Gui Windows
 
Well, I have quite a problem, it's actually a rather odd problem, whenever I try to close my GUI windows in one of my scripts using another method then the red(x) , such as control.Hide(); and control.Destroy(); . It doesn't effect the GUI window control? Here is an example of one of my windows.

PHP Code:

new GuiWindowCtrl("Guild_Window_fapp") {
   
useownprofile true;
   
profile "gcpu1-window";
   
360;
   
115;
   
width 300;
   
height 375;
   
text "Guild System!";
   
destroyonhide true;
   
canmaximize false;
   
canminimize false;
   
canresize false;
   
canclose true

Thanks in advance
-Ronnie


All times are GMT +2. The time now is 12:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.