In Windows desktop apps I have in the open event of some canvases:

Me.DoubleBuffer = True Me.EraseBackground = False
according to the documentation.
Checking the project, using Ctrl-K I get a analyse warning that ‘EraseBackground’ should be depricated.
Which is right ? The documentation or the analyser ?

The analyzer is done by Xojo Engineers, not the documentation. The former may forget to pass the word to the later and so the documentation stays unchanged.

Of course, this is IMHO.