Allow multiple lines of text in a control
- In design mode, right-click the control you want, and then click Properties on the shortcut menu.
- On the Display page, select the Multi-line check box.
The following code example uses the ModifiedFormPages property of the current Inspector object to set the multi-line property of a TextBox on a page called "Test."
Item.GetInspector.ModifiedFormPages("Test").Textbox1.MultiLine = True