Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Minimizing Gui's? (https://forums.graalonline.com/forums/showthread.php?t=80230)

xXziroXx 06-25-2008 03:11 AM

Minimizing Gui's?
 
Is it just me, or is there no event when a Gui is minimized, or even a variable to check if is or not?

xXziroXx 06-28-2008 01:03 AM

Jesus? Hannibal Lecter? LUKE!? Stefan....? Anyone? :whatever:

Chompy 06-28-2008 01:10 AM

Quote:

Originally Posted by RC Chat
/scripthelp minimize

Quote:

Originally Posted by Scripthelp Output
Script help for 'minimize':
Clientside:
GuiWindowCtrl.canminimize - boolean
GuiWindowCtrl.minimized - boolean

Meh? :o

Dunno about the event though

xXziroXx 06-28-2008 01:46 AM

Quote:

Originally Posted by Chompy (Post 1399852)
Meh? :o

Dunno about the event though

What the crap. I need glasses.

Chompy 06-28-2008 01:59 AM

Quote:

Originally Posted by xXziroXx (Post 1399859)
What the crap. I need glasses.

I won't buy them ^^

Admins 06-28-2008 01:00 PM

The "minimized" variable also works for external windows, there is no event for it yet though, although that could be added.

xXziroXx 06-28-2008 07:50 PM

Quote:

Originally Posted by Stefan (Post 1399885)
The "minimized" variable also works for external windows, there is no event for it yet though, although that could be added.

Something like GuiControl.onMinimized() and GuiControl.onMaximized() would be VERY useful. :)

zokemon 06-29-2008 01:01 AM

Quote:

Originally Posted by xXziroXx (Post 1399911)
Something like GuiControl.onMinimized() and GuiControl.onMaximized() would be VERY useful. :)

GuiControl.onResize then just check what the size is.

cbk1994 06-29-2008 01:25 AM

Quote:

Originally Posted by xXziroXx (Post 1399911)
Something like GuiControl.onMinimized() and GuiControl.onMaximized() would be VERY useful. :)

not onMaximized(), that would be like if they used the maximize button (to make it larger).

onRestored() would be more appropriate.

xXziroXx 06-29-2008 02:45 AM

Quote:

Originally Posted by cbk1994 (Post 1399958)
not onMaximized(), that would be like if they used the maximize button (to make it larger).

Don't make assumptions, that's exactly what I was talking about.

cbk1994 06-29-2008 02:53 AM

Quote:

Originally Posted by xXziroXx (Post 1399971)
Don't make assumptions, that's exactly what I was talking about.

Oh okay, confused me because you were talking about minimizing, so I figured by maximize you meant restore. Most people say "maximize" instead of restore.

xXziroXx 06-29-2008 03:19 AM

Quote:

Originally Posted by cbk1994 (Post 1399973)
Most people say "maximize" instead of restore.

I'm not most people, take it in a bad or good way, whichever you prefer. ;)


All times are GMT +2. The time now is 04:08 PM.

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