ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Using the BaseColor member of the Drawing class in the derived class Round
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 1004: To explicitly access an element of the base class '%1', use the syntax
Reason
Attempt to use an element (member, method or constant) of the base class from the derived class.
The syntax used is incorrect. You are using the following syntax:
:NameBaseClass:ElementName
Correction
To use an element (member, method or constant) of the base class from a derived class, the element must be prefixed by the name of the base class.
NameBaseClass:ElementName
Example

Using the BaseColor member of the Drawing class in the derived class Round

Code triggering the error
:Drawing:BaseColor = LightRed
Possible correction
Remove the colons (: character) in front of the name of the base class.
Drawing:BaseColor = LightRed
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help