Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2006, 07:43 AM
Joey_P2P Joey_P2P is offline
Banned
Join Date: Oct 2006
Posts: 36
Joey_P2P is on a distinguished road
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?
Reply With Quote
  #2  
Old 11-03-2006, 12:21 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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)
Reply With Quote
  #3  
Old 11-03-2006, 06:46 AM
Joey_P2P Joey_P2P is offline
Banned
Join Date: Oct 2006
Posts: 36
Joey_P2P is on a distinguished road
Okay, that worked.

Last edited by Joey_P2P; 11-03-2006 at 07:10 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:20 PM.


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