Left Property [Application, Window]
Left property returns or sets the coordinate for the left edge of the window. Returns a long.
Syntax
object.Left
object.Left = newVal
Parameter |
Type |
Description |
newVal |
Long |
required, use screen coordinates |
Example 1
This example demonstrates how to return the distance between the left side of the application window and the left side of the Desktop window in pixels.
Debug.Print SurferApp.Left
Example 2
This script displays all the properties in the Application object.
Example 3
This example demonstrates how to position the left side of the application window 150 pixels from the left of the Desktop window.
SurferApp.Left = 150
Example 4
This script displays all the methods and properties in the Window object.
Used by: Application object, Window object