I have a toolbar of images, and I want text labels underneath the images. Where the text labels are multiple words, I'd like to stack the words vertically. How can I do it?
From stackoverflow
-
Although not supported by the VS UI, you can have a multiline label. Simply use CrLf to separate lines.
-
To elaborate on Paulo's answer:
You can't do the multiline at design time. But at runtime you can set the .Text property of each ToolStripButton like this:
ToolStripButton1.Text = "This is " & ControlChars.CrLF & "a button."That will give you the multi-line display for your text.
0 comments:
Post a Comment