by WiltedDeath (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 17th March 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Make a text box automatically scroll down as it is changed or added to if the text is longer than one line... I don't know if this is already
'an example of a piece of a chat "send" button, not including the actual part for sending the text to the other user, adds the text to the text box, and sets the text starting point as the last character, requires txtChat as the chat where all messages are posted and txtType where the user types the messages
txtChat.Text = txtChat.Text & txtType.text & vbCrLf
txtChat.SelStart = Len(txtChat.Text)
End Sub
No comments have been posted about Make a text box automatically scroll down as it is changed or added to if the text is longer than o. Why not be the first to post a comment about Make a text box automatically scroll down as it is changed or added to if the text is longer than o.