![]() |
Gui problem...
Ok, I am having problems with the gui tree ctrl.
I want to set an icon, but it wont let me... I changed icon size to 32x32, and tried everything to set an icon. >< How do you do it? x.x |
PHP Code:
|
But that just makes the image the txt document image thing...
And that doesnt work when you resize the icons anyway. I need to make the image my own icon,. -.- |
tried stuff like image = "bomb.png";?
|
Yes, and it does not work.
|
closest stuff I could find was:
http://wiki.graal.net/index.php/Crea...uiTreeViewNode so.. tried icon = "bomb.png";? for example PHP Code:
|
Thanks for trying, but still no. x.x
|
The .icon is a TDrawingPanel I think; you might need to use something like:
PHP Code:
|
Yes, first do seticonsize(w, h);
Then the icon variable is actually a TDrawingPanel object that you can use various functions such as:
Here's an example: NPC Code: |
Then I was.. almost right ;O
|
Ok, now I need some more help. lol
It has to do with guis also... Ok, I have a gui scroll ctrl with text inside it. Now, as the player chats, the text adds line to what the player is saying. When the text reaches the bottom of the scroll box, I need the scroll to go to the bottom. Currently, it hides 1 line... Say, its starting to stretch the scroll, and you say 'Test'. It will not show up, cause its hidden. Then you say 'Test2', and 'Test' will show up and 'Test2' will be hidden... I currently have the script set to this texth1.scrollto(0, text123.height); So, what ese can I do so it doesnt hide that 1 line? |
I told you this in your IM but you ignored me:
If it is a GuiMLTextCtrl that is inside the GuiScrollCtrl you can simple call the function scrolltobottom() for the GuiMLTextCtrl. Also, I see chat history systems are becoming quite the fad ever since i made my first version on Maloria v3. ^_^ |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
That's just the release. The server may have been up alot longer before that. |
I was more referring to an improved version of the ChatBar object and chat of the player's head type of system but meh, I'll stand corrected to avoid pointless arguing.
|
^^
<3 Zero, Skyld, Twinny |
| All times are GMT +2. The time now is 07:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.