This Method or Property Does Not Exist
From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
You used a syntax that implies that a term is a method or property, but it does not exist. It also occurs when you use a variable in an assignment statement but omit the equals sign, making it appear that it is a method or property.
Calling a method that has not been defined:
Assigning a value to a variable that has not been declared using a Var statement
Trying to set in code a property that can only be set in the Properties pane. The following line of code tries to set the value of the Bold property of a MenuItem, but the Bold property is not recognized in code:
You can only access the calling object's properties using Me within an event handler belonging to that object.
The programmer intended to declare aNames as an array in the Var statement but forgot to do so.
Trying to assign a value to a Private or Protected property that is out of scope. For example, the following line tries to assign a value to a Private property of a module from a window: