.Visible = .f. DO FORM ShowError .... .Visible = .t. && This line is executed immidiately after DO FORM ShowError and because the ShowError is not modal VFP didn't stop execution of && this code until the form being closed. So the main form just flashes :o)))You can test a littile
.Visible = .f. InKey(0) DO FORM ShowError .... InKey(0) .Visible = .t.to see what happens