How can i make my RTB remove the top line(or text) when it gets filled with messages. So when a new message comes in, it removes the top line of the RTB, this way i wont need a scroll bar on it, and wont really need a clear chat..
I'm thinking this should do it.
Dim lPos As Long
With rtb
lPos = InStr(.Text, vbCrLf)
If lPos Then
.Text = Mid(.Text, lPos + 2)
End If
End With
Hope this helps.
Grok
Alright thanks, ill give it a test run ;)
Grok, you're evil :P