by Sub-Killer (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 22nd July 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Some beginners ask them selfs how to make a second line in a TextBox.Here it is. ONLY ONE SINGLE LINE OF CODE. (That's normal) I did it here
'& vbCrLf & is the code for new line
MsgBox "here is the normal first line." _
& vbcrlf & "here is the second line you wanted.",vbInformation ,"Second line test"
'Example nr. 2
'Or if you want,this is beter to remember
'& vbNewLine & is the code for new line
MsgBox "This is First line." & vbNewLine & "This is Second line",vbInformation ,"Test" 'Test is the title of the MsgBox
No comments have been posted about Some beginners ask them selfs how to make a second line in a TextBox.Here it is. ONLY ONE SINGLE LI. Why not be the first to post a comment about Some beginners ask them selfs how to make a second line in a TextBox.Here it is. ONLY ONE SINGLE LI.