'Set MultiLine property and associated ToggleButton
'Set ScrollBars property and associated ToggleButton 'Set WordWrap property and associated ToggleButton 'Set AutoSize property and associated ToggleButton & 'Enter SHIFT+ENTER to move to a new line.' 'Initialize TextBox properties and toggle buttons ScrollBars appears when you manually change the content of the TextBox. When MultiLine is True, you can enter new lines of text by pressing Shift+Enter. To see the entire text placed in the TextBox, set MultiLine and WordWrap to True by clicking the ToggleButton controls. Four ToggleButton controls named ToggleButton1 through ToggleButton4.To use this example, copy this sample code to the Declarations portion of a form. The following example demonstrates the MultiLine, WordWrap, and ScrollBars properties on a TextBox.