ok how would i display tect on multiple lines useing vb code i already know tht you have to set the property to multiline=true but how would i display the text by useing code and not the property dialog on the side?
Printable View
ok how would i display tect on multiple lines useing vb code i already know tht you have to set the property to multiline=true but how would i display the text by useing code and not the property dialog on the side?
Text1.Text = "This is text from runtime"
that's what you need?
no i need it so if i press a command button text is displayed on more than one line in the text box
Sorry! Both the MultiLine and the Scrollbars properties are Read Only during run-time, so you can't change them. A simple solution would to be using two text boxes and showing/hiding them when the user click on the command button.