Extends can only be used on the first parameter

From Xojo Documentation

Error message

You used the Extends keyword more than once and/or on a parameter other than the first parameter.

Examples

Sub myNewMethod(x As Integer, Extends f As FolderItem)

Should be rewritten as:

Sub myNewMethod(Extends f As FolderItem, x As Integer)

See Also

Extends keyword