---------- Post added at 07:58 AM ---------- Previous post was at 07:56 AM ----------
Originally Posted by DawgiiStylz
If you need hep, tell me
do you see on pic tabs and document title ? http://i47.tinypic.com/24qpxtw.png
sometimes document title so to big and text covers buttons (buttos that change tabs)
Originally Posted by tynab
do you see on pic tabs and document title ? http://i47.tinypic.com/24qpxtw.png
sometimes document title so to big and text covers buttons (buttos that change tabs)
You just need to trim off the characters
Here is a demonstration:
Code:
If TextBox1.Text.Length > 10 Then
Dim x As Integer = TextBox1.Text.Length - 1
TextBox1.Text = TextBox1.Text.Remove(7, x - 7)
TextBox1.AppendText("...")
End If
This will simply remove remainder characters if its over 7 characters long and also add "..." to the end of it, meaning there are more characters.