The following example uses named arguments to move the left position of and the top position of the window:
Private Sub Window_BeforeOpen(OpenVisible As Boolean) InvoiceEntry.Move Left:=200, Top:=150 End Sub
The following example positions the Sales Prospects Maintenance window using positional arguments. It sets only the first two parameters:
Private Sub Window_BeforeOpen(OpenVisible As Boolean) CustomersandProspects.Move 200,200,"","" End Sub