Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-20-2012, 04:36 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
GuiTextEditSliderCtrl Profile

Also any pointers on this? Is there an image like the majority of gui you can upload as bitmap? Doing what I did still has a blue border around it...
PHP Code:
new GuiTextEditSliderCtrl("Mail_Mail_SendMail_SendMoney_" id) {
      
useownprofile true;
      
      
profile GuiBlueTextEditSliderProfile;
      
profile.fillcolor = {153153102.5};
      
profile.border 1;
      
profile.bordercolor = {1111};
      
profile.bordercolorhl = {1111};
      
profile.bordercolorna = {1111};
      
      
140;
      
215;
      
width 100;
      
height 20;
      
format "%d Gralats";
      
range = {0,999999};
      
value 0;
    } 
How do you change the border from that nasty blue? This isn't working. Do the profile attributes (or whatever you may call them) derive from another like in PopUpCtrl (e.g. scrollprofile = whatever)?
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #2  
Old 12-20-2012, 06:06 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
In general you can just add a line like echo(profile.bitmap); and look in the F2 console to see what image the GuiDefault version is using. Then just modify that image (under a new name, of course) and change profile.bitmap as well.

It might be using the text box bitmap, or the scroll bitmap, or some other bitmap. I don't remember.

You can try setting scrollProfile to something else, but I don't think GuiTextEditSliderCtrl uses scroll profiles for display.

http://www.graal.net/index.php/Creat...EditSliderCtrl
__________________
Reply With Quote
  #3  
Old 12-21-2012, 04:16 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
guiblue_editslider.png
Can't find it anywhere...

Just for kicks I tried scrollprofile, textprofile, and stupidly texteditprofile. I did miss it says it's inherited from text edit ctrl
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #4  
Old 12-21-2012, 02:13 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by sssssssssss View Post
guiblue_editslider.png
Can't find it anywhere...
Graal Folder > levels3d > guiblue_editslider.png
__________________
MEEP!
Reply With Quote
  #5  
Old 12-21-2012, 10:34 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Mines empty
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #6  
Old 12-21-2012, 10:38 PM
foxstar70 foxstar70 is offline
Banned
Join Date: Jun 2001
Location: New Castle, UK
Posts: 201
foxstar70 can only hope to improve
Send a message via AIM to foxstar70
Quote:
Originally Posted by sssssssssss View Post
Mines empty
Mine's empty.*
Reply With Quote
  #7  
Old 12-21-2012, 10:44 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
I'm really not trying to be completely grammatical, missing simply an apostrophe...

This isn't an essay...but thank you I suppose...even though it didn't help with the topic whatsoever...

Would someone mind uploading the graphic please? :/
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #8  
Old 12-22-2012, 01:33 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
here you go
__________________
MEEP!
Reply With Quote
  #9  
Old 12-22-2012, 05:54 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Thank you!
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #10  
Old 12-22-2012, 05:57 AM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
You're welcome
__________________
Reply With Quote
  #11  
Old 02-01-2014, 02:00 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Reviving this insanely old post. Could someone post up all the gui profile images? It would probably help others (and myself at this moment) that install with a blank folder like I seem to have constantly...

Also for allowedit on this I've tried:
PHP Code:
allowedit "false";
allowedit 0;
allowedit "0";
allowedit false
None of them work. How do you get this to work?
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...



Last edited by sssssssssss; 02-01-2014 at 02:24 PM..
Reply With Quote
  #12  
Old 02-01-2014, 06:45 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
maybe this.active = false;?
__________________
Reply With Quote
  #13  
Old 02-01-2014, 09:31 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by sssssssssss View Post
Reviving this insanely old post. Could someone post up all the gui profile images? It would probably help others (and myself at this moment) that install with a blank folder like I seem to have constantly...

Also for allowedit on this I've tried:
PHP Code:
allowedit "false";
allowedit 0;
allowedit "0";
allowedit false
None of them work. How do you get this to work?
Whatever images you need that aren't found in your GFolder, just load them into a GuiDrawingPanel and then use the save() function. That's what I do to grab bitmap images that aren't visible to me in my GFolder.
Reply With Quote
  #14  
Old 02-02-2014, 12:42 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
this.active = false; kills the catchevent for mousedown too, otherwise it would work fine.

Thank thanks emera ill eventually do that
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #15  
Old 02-02-2014, 12:52 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
here they are

also you could use something like:

PHP Code:
control.onTextChanged() {
  if (
control.lockedcontrol.text control.lockedtext;

Attached Files
File Type: zip levels3d.zip (127.4 KB, 198 views)
__________________
Quote:
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:54 PM.


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