This.AddProperty("SomeProperty")the ComboBox becomes invisible. If I change that to:
ADDPROPERTY(This, "SomeProperty")then it is visible, as expected. I originally used another property; A TRY/CATCH reveals no error in either case. The debugger shows that Combo1.Visible = .T., but it is still invisible. Also, this didn't happen before, on the same form. The property is not used anywhere else (I originally used another property name, but changed this to "SomeProperty" for testing purposes).
DODEFAULT() LOCAL llError TRY This.AddProperty("SomeProperty") * ADDPROPERTY(This, "SomeProperty") CATCH llError = .T. FINALLY ENDTRY MESSAGEBOX(IIF(llError, "There was an error", "NO error")) RETURN .T.The message "NO error" is shown, but the ComboBox is still invisible.