Thisform.SetAll("Enabled",.f.,"textbox") if condation unsewr no Thisform.SetAll("Enabled",.t.,"textbox")