vb.net - How to separate paragraphs in a textbox? -


if have textbox, , want generate paragraph it, makes sense want use linebreaks. idea?

for line break specify environment.newline in

str = "this line" & environment.newline & " , " & environment.newline 

use 2 newline paragraph separation

para =  environment.newline & environment.newline & "my para body" & environment.newline &  environment.newline 

put text in textbox

mytxtbox.text = str 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -