This Method is Protected. It can only be Called From Within its Class

From Xojo Documentation

Error message

You tried to access a protected method from outside the object that owns it. A protected method is accessible only from within its parent object-its class, window, or module.

You can unprotect a method by choosing either the Public or Global scope in the Add Method declaration area.