WindowRestore menuitem means "Can't Call something that isn't a function"

If I have a Window menu and I have a menuitem Restore I get from the analyzer

That is without any code and simply from the name.
Why?

Probably because Window has a Restore method on it already. Please see:

http://documentation.xojo.com/index.php/Window.Restore_method

I thought since there is a dot it would fly.

Can you post some example code?

Oh. I thought because the callout for the Restore method has the dot, it would be safe.
The code would likely be self.Restore

I changed the name to Restor - minus the “e” and that works.