loform = create('aModalForm') loform.show(1) loform = '' define class aModalForm as form ShowWindow = 1 WindowType = 1 Function QueryUnload This.Visible = .f. endfun enddefineThis is not the same environment as that which is preventing Modality but this represents the override form settings which are employed.