Text Box Control Properties

See Also        

The following list identifies the properties you can set for a text box control. Those properties that apply only when the control is on a form are followed by (forms) for "Forms Only."

Click any name below to display additional information about that property, such as other restrictions concerning when the property is available, and whether you can set it in the property sheet, in a macro, or by using Visual Basic.

A–N

AddColon FilterLookup
AfterUpdate (forms) FontBold
AllowAutoCorrect FontItalic
AutoLabel FontName
AutoTab (forms) FontSize
BackColor FontUnderline
BackStyle FontWeight
BeforeUpdate (forms) ForeColor
BorderColor Format
BorderStyle Height
BorderWidth HelpContextID (forms)
BottomMargin InputMask
CanGrow InSelection (forms)
CanShrink IsHyperlink
ControlSource LabelAlign
ControlTipText (forms) LabelX
ControlType LabelY
DecimalPlaces Left
DefaultValue (forms) LeftMargin
DisplayWhen (forms) LineSpacing
Enabled (forms) Locked (forms)
EnterKeyBehavior (forms) Name

O–P

OnChange (forms) ShortcutMenuBar
OnClick (forms) SpecialEffect
OnDblClick (forms) StatusBarText (forms)
OnEnter (forms) TabIndex (forms)
OnExit (forms) TabStop (forms)
OnGotFocus (forms) Tag
OnKeyDown (forms) TextAlign
OnKeyPress (forms) Top
OnKeyUp (forms) TopMargin
OnLostFocus (forms) ValidationRule (forms)
OnMouseDown (forms) ValidationText (forms)
OnMouseMove (forms) Vertical
OnMouseUp (forms) Visible
RightMargin Width
ScrollBars (forms)