Left Property (Window object)

Read-only. A Long type property. Returns the X-coordinate of the top left corner of the window.

Applies to: Window object

Syntax

[[Let] leftRet = ] object.Left

The Left property syntax has these parts:

Part Description
object Required. An expression that returns a Window object.
leftRet Optional. A Long type variable.

Remarks

Note, that the coordinates of the window position are specified in screen pixels, and the coordinate origin is in the left top corner of the parent window frame. To change the dimensions and position of the window, use the SetWindowRect method.

Example

..........

 

See Also

Top property, Height property, Width property, SetWindowRect method