Left Property

Example   Applies To   See Also

Specifies the distance between the left edge of a control or form and its container object. Available at design time and run time.

Syntax

Object.Left[ = nDist]

Settings

nDist

Specifies the distance between the left edge of an object or form and the left edge of its container object.

The default container for a form is the main Visual FoxPro window.

Remarks

The Left property specifies how far from the object's zero position the object is located. For example, if a form is contained within the Visual FoxPro main window, the zero position is immediately to the right of the main window's left border. If a toolbar is docked to the left of the main window, the zero position is immediately to the right of the toolbar. In Visual FoxPro for Macintosh, if the form is on the desktop (not contained within the Visual FoxPro main window), the zero position is the left edge of the screen.

Use Left, Top, Height, and Width properties for operations based on an object's external dimensions, such as moving or resizing. Use the ScaleMode property to change the unit of measurement.

Note   The Left property is read-only when it applies to a control contained in a Column object.