The following example changes the top position of the grid so it now appears below a new field, Sort By State, in the Customers and Prospects lookup window:
Private Sub Window_BeforeOpen(OpenVisible As Boolean) CustomersandProspectsDetail.Top = SortByState.Top + _ SortByState.Height + 6 End Sub