Help on MooClick chat room
Hey,
I recently built a mooclick-chatroom client on MMF2. I released the beta, and its a hit. But one thing that everyone is complaining about is that they have to scroll down to see new messages.
How do I make it so that it autoscrolls down when a new message is posted? In other words, can you make it so you dont have to scroll down to see new chat messages?
Thanks,
Alec
Re: Help on MooClick chat room
Use the "scroll to end" action with the rich edit object.
Re: Help on MooClick chat room
1. Block->Unselect Block
2. Control->Goto->Character number->Len( GetText$( "Rich Edit Object", 0, 0 ) ) - 1
3. Control->Set Text
Re: Help on MooClick chat room
Control->Goto->
Len? I only have Line Number and Character Number.
Re: Help on MooClick chat room
Err, Character number.
Len is one of the buttons in the main portion of the expression editor, to the left of the OK/Cancel/Help buttons. It means length.
You could probbably use GetNChars( "Rich Edit Object" ) instead (Text->Get Total number of Characters).
Re: Help on MooClick chat room
Can you give me more detailed instructions again?
Okay, so I go into Event Editor, go to new expression, Moo Click>Play>On Message.
Go to the Rich Edit line.
Then what?
Thanks,
Alec
Re: Help on MooClick chat room
Re: Help on MooClick chat room
wat i did was just made an always condition with the scroll to end object. This way u can scroll up but when u let go of your mouse it scrolls back down.
Re: Help on MooClick chat room
Can you not just use:
+ On message
- Scroll to end
Or am I missing the point?? xD
Re: Help on MooClick chat room
Quote:
Originally Posted by Flava
Can you not just use:
+ On message
- Scroll to end
Or am I missing the point?? xD
Oh thats a good idea i didnt think of that