This Item Conflicts with Another Item of the Same Name
From Xojo Documentation
Error message
Occurs when you are calling an overloaded method and the compiler cannot determine which version you meant to call. This happens when two methods have the same name, number of parameters, and the data types of the parameters match.
Notes
This error will also occur if a method name conflicts with another type of project item such as a window, menuitem, control, and so forth. For example, if you have a global function named Foo and a window called Foo.
Sample Code
The method myOverLoadedMethod takes three integer parameters, but it is defined twice (performing different functions) in a window’s Code Editor. A call to myOverLoadedMethod produces the error. The solution is to rename or eliminate the second instance of myOverLoadedMethod.
Instance 1
Sub MyOverLoadedMethod(a As Integer, b As Integer, c As Integer)
Var d As Integer
d = a * b / c
MessageBox(d.ToString)
End Sub
Var d As Integer
d = a * b / c
MessageBox(d.ToString)
End Sub
Instance2
Sub MyOverLoadedMethod(x As Integer, y As Integer, z As Integer)
Var d As Integer
d = x / z * y
MessageBox(d.ToString)
End Sub
Var d As Integer
d = x / z * y
MessageBox(d.ToString)
End Sub