Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.31 KB

Project.Application.AppMove.md

File metadata and controls

53 lines (33 loc) · 1.31 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.AppMove method (Project)
vbapj.chm2010
vbapj.chm2010
project-server
Project.Application.AppMove
73ab96b7-4985-b25f-d202-89e6230e6e4e
06/08/2017
medium

Application.AppMove method (Project)

Moves the main Project 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 the main window of Project nine points to the left.

Sub MoveMainWindowToLeft() 
    AppMove XPosition:=Application.Left - 9, Points:=True 
End Sub

[!includeSupport and feedback]