Useful TextBox Properties

 

Font - Controls the size and font type  of the text displayed in the textbox.

MaxLength - Integer.Specifies the maximum number of characters that can be entered in the textbox.

Multiline – Boolean. (True or False) Allows for multiple lines in a text box. User presses Enter to move to the next line or NewLine carriage control character can be embedded in the string to be displayed.

ReadOnly – Boolean. (True or False) Controls whether the text can be changed by the user.

ScrollBars - (None, Both, Horizontal, Vertical) Indicates for Multiline textboxes, which scroll bar will be provided when the text is too large to fit in the space provided. The Scroll bars are visible but disabled until they are needed.

TabStop - Boolean. (True or False) Indicates whether focus will rest on the textbox when the user uses the Tab key to move around the form.