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 12-15-2006, 09:17 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
GuiBitmapButtonCtrl

Well, my problem is, when I am using "GuiBitmapButtonCtrl" and
"mouseoverbitmap"; Its suppose to trigger the image when
your mouse is over the bitmap (width & height is setted to 32x32),
but it doesn't, whenever I put my mouse of the parent (GuiScrollCtrl)
it triggers, whenever my mouse is over the GuiScrollCtrl...

Why is this, anyway to fix? Couldn't find it out..
__________________
Reply With Quote
  #2  
Old 12-16-2006, 02:39 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
When a scroll control only has one child then it forwards all input to that child, that is needed for controls like GuiMLTextCtrl which resize themself dynamically. Otherwise you couldn't click on a GuiMLTextEditCtrl when it doesn't have text yet.

Eventually add a second invisible control (GuiControl).
Reply With Quote
  #3  
Old 12-16-2006, 08:09 PM
MKnance MKnance is offline
Registered User
Join Date: Aug 2003
Location: Dupo
Posts: 49
MKnance is an unknown quantity at this point
Talking Re:I know i maybe posting too an old post i got the npc that shows the RC GUI at the?

I got the RC GUI botton at the bottom cornor of the screen and i click it and it doesn't open why? if you would like the script that i made it fixed and worked just private message me and ill give it too you too see what could be wrong i script i found of it someone forgot the Clientside command in it which made it not work which i fixed ty for your corroperation have a nice christmas and a new year
Reply With Quote
  #4  
Old 12-16-2006, 09:40 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
When a scroll control only has one child then it forwards all input to that child, that is needed for controls like GuiMLTextCtrl which resize themself dynamically. Otherwise you couldn't click on a GuiMLTextEditCtrl when it doesn't have text yet.

Eventually add a second invisible control (GuiControl).
Well, it had the GuiMLTextCtrl as a sub-parent, but I changed it so it was changed outside
GuiMLTextCtrl.. just had to change the coords and stuff :P
__________________
Reply With Quote
  #5  
Old 12-16-2006, 11:23 PM
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
Quote:
Originally Posted by MKnance View Post
I got the RC GUI botton at the bottom cornor of the screen and i click it and it doesn't open why? if you would like the script that i made it fixed and worked just private message me and ill give it too you too see what could be wrong i script i found of it someone forgot the Clientside command in it which made it not work which i fixed ty for your corroperation have a nice christmas and a new year
Please open a new thread and explain better what you want to say
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 02:47 PM.


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