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 1022: The access to the method of the class is restricted by a protected inheritance
Reason
You are trying to access a method from a class that is derived by a protected inheritance. This method cannot be accessed from a code external to this class.
Correction
Two possibilities:
  • Access this method from a method of the derived class or from a method of one of its own derived classes.
  • Transform the protected inheritance to public inheritance: the method will be accessible from the code of the derived classes as well as from a code external to the class.
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help