PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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()
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment