A text box’s . . . . . . . . property specifies whether the text box has scroll bar.

Multiline Property
ReadOnly Property
ReadWrite Property
ScrollBars Property

The correct answer is D. ScrollBars Property.

The ScrollBars property specifies whether the text box has scroll bars. It can be set to one of the following values:

  • None: The text box does not have scroll bars.
  • Vertical: The text box has a vertical scroll bar.
  • Horizontal: The text box has a horizontal scroll bar.
  • Both: The text box has both a vertical and horizontal scroll bar.

The Multiline property specifies whether the text box can contain multiple lines of text. It can be set to True or False. If True, the text box can contain multiple lines of text. If False, the text box can only contain a single line of text.

The ReadOnly property specifies whether the text box is read-only. It can be set to True or False. If True, the text box is read-only and the user cannot change the text in the text box. If False, the text box is not read-only and the user can change the text in the text box.

The ReadWrite property is not a valid property of a text box.

Exit mobile version