ThisForm.SetAll("visible", !.t., "textbox" , "combo") OR ThisForm.SetAll("visible", !.t., "textbox" + "combo") OR ThisForm.SetAll("visible", !.t., "textbox" AND "combo")>To clarify, what I meant was you could remove the "IF" test the value, and put variable directly in the SetAll method. If the logical variable "unsewr" is true, the "!" will invert this value to false.
>***ThisForm.SetAll("visible", .F., "textbox") &&&&&& remove this >***IF unsewr = .F. &&&&&& remove this >***ThisForm.SetAll("visible", .T., "textbox") &&&&&& remove this > ThisForm.SetAll("visible", !unsewr, "textbox") >***ENDIF &&&&&& remove this >>
>***ThisForm.SetAll("visible", .F., "textbox") &&&&&& remove this >***IF unsewr = .F. &&&&&& remove this >***ThisForm.SetAll("visible", .T., "textbox") &&&&&& remove this > ThisForm.SetAll("visible", !unsewr="somevalue", "textbox") >***ENDIF &&&&&& remove this >>