Me Cannot be used in a method of a module

From Xojo Documentation

Error message

Notes

You can't use Self or Me in a method or function in a module because there is no parent window or control. Self can be used only when there is a parent window for the method and Me can be used only in a control's event handler.

See Also

Self, Me keywords.