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 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.
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment