Current location - Quotes Website - Signature design - In vs20 10, a large number of words are entered in the text attribute of the tag. How to achieve word wrap on a form?
In vs20 10, a large number of words are entered in the text attribute of the tag. How to achieve word wrap on a form?
. .
Just add a line break, which can be Chr( 13) or Chr( 10). The code example is as follows:
Label 1。 text = " 1 1 1 "+Chr( 10)+" 2222 "
The above code is displayed as two lines in the label.