Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUI control outside of GraalControl (https://forums.graalonline.com/forums/showthread.php?t=75405)

coreys 07-14-2007 05:04 AM

GUI control outside of GraalControl
 
Well, on Thamhic I decided I wanted to reduce the size of the GraalControl a bit and show the taskbar at the very bottom of the graal control and then have the main gui at the bottom of the screen, below the Graal Control. Gileada has a similar setup, only without the taskbar and with an even smaller graal control. My problem is that I can't get the GuiControl to show outside of the GraalControl, any idea how I could do this?

godofwarares 07-14-2007 07:06 AM

Quote:

Originally Posted by coreys (Post 1329646)
Well, on Thamhic I decided I wanted to reduce the size of the GraalControl a bit and show the taskbar at the very bottom of the graal control and then have the main gui at the bottom of the screen, below the Graal Control. Gileada has a similar setup, only without the taskbar and with an even smaller graal control. My problem is that I can't get the GuiControl to show outside of the GraalControl, any idea how I could do this?

Not sure if this works, but try resizing the GUIContainer.

coreys 07-14-2007 07:30 AM

Nope, nothin'. =/

xXziroXx 07-14-2007 07:33 AM

PHP Code:

new GuiWindowCtrl("nuff said")
{
   
height 32;
   
GUIContainer.height height;
   
GUIContainer.addControl(this);



coreys 07-14-2007 07:48 AM

I thank you, good sir, I thank you.

Admins 07-14-2007 12:40 PM

You should do it like this:
PHP Code:

with (GUIContainer) {
  new 
GuiWindowCtrl("MY window") {
    
// ...
  




zokemon 07-15-2007 05:04 AM

Quote:

Originally Posted by xXziroXx (Post 1329721)
PHP Code:

new GuiWindowCtrl("nuff said")
{
   
height 32;
   
GUIContainer.height height;
   
GUIContainer.addControl(this);



:asleep:

xXziroXx 07-15-2007 05:21 AM

Quote:

Originally Posted by zokemon (Post 1330538)
:asleep:

Yeah yeah, thanks Zero for teaching me how to do that what feels like ages ago by now. :)

cbk1994 07-15-2007 05:25 AM

Quote:

Originally Posted by Stefan (Post 1329919)
PHP Code:

  new GuiWindowCtrl("MY window"


That's right, teach people not to mess with YOUR window! ^^


All times are GMT +2. The time now is 03:02 PM.

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