Graal Forums

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

Joey_P2P 11-02-2006 07:43 AM

GuiControl
 
PHP Code:

new GuiControl("Win_Window" this.winid)
{
  
useownprofile true;
  
canmove        true;
  ...
    
  new 
GuiBitmapCtrl("Win_BG" this.winid)
  {
    
bitmap "testimg.png";
    ...
  }


Is it possible to get the GuiControl to be movable ANYWHERE on the gui by dragging or should I custom code it.. =o?

Admins 11-03-2006 12:21 AM

What is not working with the canmove-thing ? If you want to let the player move the window even when clicking on the image, then you need to make the sub-controls non-modal
(useownprofile = true, profile.modal=false; or create a profile for this which you can reuse)

Joey_P2P 11-03-2006 06:46 AM

Okay, that worked.


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

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