The following example positions the left edge of the grid 20 pixels from the left edge of the window using the Left property:
Private Sub Window_BeforeOpen(OpenVisible As Boolean) CustomersandProspectsDetail.Left = 20 End Sub