-
I have a text box (multiline = true, scrollbars = vertikel) to display the message or infro about what have changes in one of my from. Did anyone one know how to display the message in the text box without overwriting the old meesage?
That means i want every changes display a new line.
-
Simply append a carriage control/line feed an your new message to the existing textbox. How you append it determines whether you want the new message to appear at the top or the bottom.
To appear at the top
Code:
txtBox.text = sMessage & vbCRLF & txtBox.text
To appear at the bottom:
Code:
txtBox.text = txtBox.text & vbcrlf & sMessage
-
ThankX Glenn, the code work perfectly. :รพ