textbox 줄바꿈 / Environment.NewLine
*
Public Class Form1

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
TextBox_log.Text = TextBox_log.Text & "1111" & Environment.NewLine
End Sub

Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
TextBox_log.Text = TextBox_log.Text & "2222" & Environment.NewLine
End Sub

Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click
TextBox_log.Text = TextBox_log.Text & "333" & Environment.NewLine
End Sub
End Class

멀티라인 체크 필요

as.JPG

 

 

122112.JPG

 

이 게시물을

댓글'3'

   TextBox_log.Text = TextBox_log.Text & "1111" & vbCrLf

이 댓글을

textbox 시작 또는 끝에 위치하게

 

        TextBox_log.TabStop = True

        TextBox_log.TabIndex = 0

        TextBox_log.Select()

이 댓글을

TextBox_log.AppendText(vbCrLf & DateTime.Now.ToString("HH:mm:ss") & " ▶ " & DateTime.Now.ToString("HH:mm:ss"))

이 댓글을

공유하기

SEARCH

MENU NAVIGATION