Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUI Question (https://forums.graalonline.com/forums/showthread.php?t=134267740)

Gunderak 01-07-2013 10:12 AM

GUI Question
 
Hey,
I'm into JavaScript quite a bit and am wondering is there any way to prevent the default actions? In JavaScript if you wanted to prevent something, like when you click on something you'd do preventdefault();
Iv'e tried some things, but with no luck.
I know you could simply make it resize back to normal when resized, but it looks shabby.
This is regarding an external window, since canresize has no effect on it.
Cheers.

Tried posting the things I tried but incapsula..... ugh.

cbk1994 01-07-2013 01:22 PM

Default actions for what? Window resizing? I doubt there is any way to intercept that and it would look bad even if you could. Stefan needs to implement proper canResize support.

Gunderak 01-08-2013 04:11 AM

It wouldn't even be that hard to do. Just pass the value to the window.
Similar to how canmimimize and canmaximise works.


All times are GMT +2. The time now is 09:56 AM.

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