The following example sets the title when the window opens:
Private Sub Window_BeforeOpen() CustomerMaintenance.Caption = "Clients" End Sub