>>Thisform.setall("Enabled", .f.) >>* or >>FOR EACH loControl IN Thisform.Controls >> IF PEMSTATUS(loControl ,"Enabled",5) && Does the enabled property exist? >> loControl.Enabled = .F. >> ENDIF >>ENDFORYou'll have to add more complicated logic to drill further down if there are containers on the form.