ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Using a misspelled method
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 1003: The element does not exist in the class
Reason
You are trying to access a member, a method or a constant that was not defined in the class.
Correction
Two solutions:
  • Check the spelling of the object used.
  • Create the object in the class.
Example

Using a misspelled method

Code triggering the error
pDrawing is dynamic Drawing = new Drawing(gpDrawing,x,y,width,height)
pDrawing:Disp()
Possible correction
The Disp method does not exist: the name of the method is Display.
pDrawing is dynamic Drawing = new Drawing(gpDrawing,x,y,width,height)
pDrawing:Display()
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help