ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
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 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.
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help