Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim strInfo As String
strInfo = " บรรทัดที่ 1 "
strInfo &= vbCrLf & " บรรทัดที่ 2 ใช้ vbCrLf "
strInfo &= vbNewLine & " บรรทัดที่ 3 ใช้ vbNewLine "
strInfo &= Environment.NewLine & " บรรทัดที่ 4 ใช้ Environment.NewLine "
strInfo &= Constants.vbCrLf & " บรรทัดที่ 5 ใช้ Constants.vbCrLf "
strInfo &= Chr(13) & " บรรทัดที่ 6 ใช้ Chr(13)"
MessageBox.Show(strInfo, "ทดสอบ", MessageBoxButtons.OK)
End Sub
Showing posts with label ขึ้นบรรทัดใหม่. Show all posts
Showing posts with label ขึ้นบรรทัดใหม่. Show all posts
Thursday, April 18, 2019
VB.NET ขึ้นบรรทัดใหม่
Thursday, September 13, 2012
HTML Tag คำสั่งขึ้นบรรทัดใหม่
คำสั่งขึ้นบรรทัดใหม่ รูปแบบคำสั่ง <BR>
คำสั่งขึ้นย่อหน้าใหม่ รูปแบบคำสั่ง <P>
เส้นคั่นบรรทัด รูปแบบคำสั่ง <HR>
<HR width="60%" noshade >
<HR width="80%" color="red">
Subscribe to:
Posts (Atom)