You Cannot Implement a Nonexistent Event
From Xojo Documentation
Error message
Occurs only in XojoScript. You attempted to use an event that is was not previously defined.
Occurs only in XojoScript. You attempted to use an event that is was not previously defined.