Use
Code:
Text1.Multiline = True
To make it multi line and
Code:
Text1.Multiline = False
to make it single line