![]() |
Scrolltobottom Gui question
How can I get this to work, I have it in a timeout currently
PMG_Text_ @ thiso.ircChat.scrolltobottom(); I've tried a few things with no sucess so any thoughts from the Graal Scripting Community? |
What are you trying to do? What are PMG_Text_ and thiso.ircChat?
|
PMG_Text is a GuiMLText line and thiso.ircChat is the name of whatever IRC Server the player has joined, and I want it to scroll to the bottom everytime the player sends a msg or something, I know it's not the best to put it in a timeout but I'm going to change when I figure out how it works
|
So something like (@ "PMG_Text_" @ thiso.ircChat).scrollToBottom(); ?
|
no :/
|
Then explain better what you are trying to achieve, and why parts of what you're doing are relevant or whatever. The goal of this thread is cryptic. :/
|
The weapon is basically like Kuji IRC except I modified it. I replaced GIRC with PMG. I just want the text box to scroll to the bottom everytime something gets added to it.
Kuji IRC http://forums.graalonline.com/forums...ad.php?t=69121 To Kuji : Don't worry, I left your name in it ¬.¬ |
If your question is where is the best place to put your .scrollToBottom(), then why not just put it in the event where the text is being received?
In this case, at the end of function onAddMsg()? (Still not understanding what "PMG_Text_ @ thiso.ircChat.scrolltobottom();" is trying to do) |
Quote:
|
Quote:
If you want to scroll PMG_Text_foo, you must do this: PHP Code:
|
Yay there it goes, Thank you Skyld :)
|
| All times are GMT +2. The time now is 04:26 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.