Hello,
Let say I have a variable called TempText, containing a text of 300 words.
I have two labels, Label1 and Label2, fixed size (Autosize = False).
Let say I do Label1.Text = TempText. The label won't display all the text. I want to be able to identify the last visible word (or character position) in Label1 and parse from there, putting the remaining words in Label2.Text.
I know how to do the parse, I just don't know how to identify the last visible word/character position in Label 1.
*It may sound confusing, but just imagine a newspaper article, with a picture on the left. You have the article text at the right of the picture, then below the picture, the 2nd label is larger, containing the rest of the article.
Sorry if it sounds confusing, but it makes sense in my head.
Any tips?
Thanks
Let say I have a variable called TempText, containing a text of 300 words.
I have two labels, Label1 and Label2, fixed size (Autosize = False).
Let say I do Label1.Text = TempText. The label won't display all the text. I want to be able to identify the last visible word (or character position) in Label1 and parse from there, putting the remaining words in Label2.Text.
I know how to do the parse, I just don't know how to identify the last visible word/character position in Label 1.
*It may sound confusing, but just imagine a newspaper article, with a picture on the left. You have the article text at the right of the picture, then below the picture, the 2nd label is larger, containing the rest of the article.
Sorry if it sounds confusing, but it makes sense in my head.
Any tips?
Thanks