I itayzoro Member Joined Jul 28, 2008 Messages 23 Programming Experience Beginner Jul 29, 2008 #1 or Insert Tab into VB.NET text ?
J Jay1b Member Joined Dec 12, 2007 Messages 21 Programming Experience 5-10 Jul 30, 2008 #2 TextBox1.Text = "hey" + Chr(9) + "you" Does the trick. Upvote 0 Downvote
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,858 Location Norway Programming Experience 10+ Jul 30, 2008 #3 You can use the Insert function of the string instance, and you can use the vbTab constant. VB.NET: Dim text As String = "abc".Insert(1, vbTab) Upvote 0 Downvote
You can use the Insert function of the string instance, and you can use the vbTab constant. VB.NET: Dim text As String = "abc".Insert(1, vbTab)
Vermiculus Well-known member Joined Jul 28, 2008 Messages 55 Location Baltimore Programming Experience 1-3 Jul 30, 2008 #4 vbTab can actually be used anywhere VB.NET: TextBox1.Text = vbTab & "Hello!" & vbNewLine & "You can format by using VB String Constants" Upvote 0 Downvote
vbTab can actually be used anywhere VB.NET: TextBox1.Text = vbTab & "Hello!" & vbNewLine & "You can format by using VB String Constants"
I itayzoro Member Joined Jul 28, 2008 Messages 23 Programming Experience Beginner Jul 31, 2008 #5 10nx All Very helpful Upvote 0 Downvote
T taurean100 Member Joined Aug 22, 2010 Messages 16 Programming Experience 3-5 Aug 25, 2010 #6 The following built-in class gathers all those things (tab, newline, vertical tab etc) VB.NET: ControlChars Upvote 0 Downvote
The following built-in class gathers all those things (tab, newline, vertical tab etc) VB.NET: ControlChars