PROC Refresh WITH This DO CASE CASE ISNULL(.xyz) * nothing to do CASE .xyz = .T. * set enabled state to the same value of forms editmode .Enabled = ThisForm.lEditMode CASE .xyz = .F. * set enabled state to the opposite value of forms editmode .Enabled = (NOT ThisForm.lEditMode) ENDWITH ENDPROCNow the question: What is a good, proper, correct name of the property "xyz"?