Table of contents
Collapse the table of content
Expand the table of content

TextBox.LeftMargin Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Along with the TopMargin, RightMargin, and BottomMargin properties. specifies the location of information displayed within a text box control. Read/write Integer. .


expression. LeftMargin

expression A variable that represents a TextBox object.


A control's displayed information location is measured from the control's left, top, right, or bottom border to the left, top, right, or bottom edge of the displayed information. Setting the LeftMargin or TopMargin property to 0 places the displayed information's edge at the very left or top of the control. To use a unit of measurement different from the setting in the regional settings of Windows, specify the unit (for example, cm or in).

In Visual Basic, use a numeric expression to set the value of this property. Values are expressed in twips.

See also


TextBox Object

© 2017 Microsoft