yes of course, I tried also with valid ACTIVATE DIALOG oApp():oDlg NOWAIT ; ON PAINT (oApp():oSplit:AdjClient()); ON INIT(oApp():oGrid:SetFocus(),ResizeWndMain()) ; VALID ( oApp():oGrid:nLen := 0 ,; oBar:End(), DbCloseAll(), oApp():oDlg := NIL, oApp():oGrid := NIL, oApp():oTab ...