PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
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 1016: The method of the class is private
Reason
You are trying to access a private method of the class from a code other than a method of this class.
Reminder: A private method can only be used from a method of the class or from a method of a class derived from this class.
Correction
Two possibilities:
  • Replace the private method by:
    • A public method: the access to the method will not be restricted.
    • A protected method: the access to this method will be performed from a derived class.
  • Don't handle this private method from one of the project codes.
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment