Your code is wrong. It should be B4XPages.MainPage.MyProperty = 14
Erel... I KNOW - Maybe I'm not a great expert but not even a beginner (I would be happy to be, I would be 15 years old ?)
How can I explain the question better? Last attempt.
1 - I have a project with code like this:
' My class
Public Sub SetSomething(Value As Int) ' <--- method
' Elsewhere in the project
objMyClass.SetSomething(55)
It's ok, I called the method of my class.
Now I press F7 on SetSomething to rename it. I change its name to setSomething, so it will be a Property; doing so, all the calls found in the project will be automaticaly changed like:
' Elsewhere in the project
objMyClass.setSomething(55)
and then all these calls SHOULD be wrong now, as they must be:
' Elsewhere in the project
objMyClass.Something = 55 ' <--- now Something is a Propety, no more a method
Well, these errors
are not reported and the project is compiled without problems (but I have not then run it).
These kind of erros are correctly reported and compiling stopped only if I make this mistake "from scratch".
Edited also my previous post, hoping to help to understand.
Let me know if, even re-reading the previous posts, the question is still not clear, in which case I would post more images, of the real project.