Manage text scrolling in a control
If paragraph breaks are enabled for a control, or if you specify that the text should wrap inside the control, you can specify the scrolling options for that control. For example, you can make scroll bars appear on a text box when the user types more text than the text box is able to display by default.
Note Scrolling options are available for text box, rich text box, and expression box controls. By default, a text box scrolls automatically as the user types, and a rich text box and an expression box expand to show all of the text.
- In design mode, right-click the control for which you want to set a text-scrolling option, and then click Control Properties on the shortcut menu.
- In the Control Properties dialog box, click the Display tab.
- In the Scrolling list, click the text-scrolling option that you want.
If the scroll bars don't work as you expect when you test your form— for example, if they appear dimmed regardless of the amount of text that is typed in the control — open the Control Properties dialog box and review the Height and Width settings on the Size tab. If auto appears in either box, the control will expand to accommodate the text. In this case, the scroll bars are not necessary and will always appear dimmed in the form. To address this problem, either enter something other than auto in the Height or Width box, or select a different scrolling option.