Today I moved this application from v18 to v18 R2 on MacOS Catalina, now it is beset with errors _O_ENABLE BUTTON(varname) which I can only get rid of by changing huge numbers of instances in the code to OBJECT SET ENABLED(true) or OBJECT SET ENABLED(false).
Errors did not happen in v18. Why this change? App has been running for 15 years, many 4D versions.
Furthermore, OBJECT SET ENABLED(true) is erratic, it works on some buttons - maybe - but not on others, whereas OBJECT SET ENABLED(false) does work all the time so this breaks the interface well and truly.
In the debugger the value returned by OBJECT SET ENABLED(true) is 0 rather than the True that I assume it should be (am I right?).
By the way all button names are unique variable names, object names are never used to set the button status.
I see that there are two bug fixes in R2 relating to buttons: previously buttons were not disabled correctly and also they were not greyed out. This was true of my application.
So now the buttons are grey when disabled but they are also disabled when they should be enabled.
Does this mean that there is a remaining bug / new bug which is preventing enabling?