Application.AppMove Method
Project Developer Reference |
Moves the main window.
Syntax
expression.AppMove(XPosition, YPosition, Points)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
XPosition | Optional | Long | A number that specifies the distance of the main window from the left edge of the screen. |
YPosition | Optional | Long | A number that specifies the distance of the main window from the top edge of the screen. |
Points | Optional | Boolean | True if XPosition and YPosition are measured in points. False if they are measured in pixels. The default value is False |
Return Value
Boolean
Example
The following example moves Microsoft Office Project 2007's main window 9 points to the left.
Visual Basic for Applications |
---|
|
See Also