PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Reason
  • Correction
  • Examples
  • Using the BaseColor member of the Drawing class
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
Error 1006: The member is not global: use: to access it
Reason
You are trying to access a member of the class with the syntax used to access a global member.

You are using the following syntax:

ClassName::MemberName


This syntax cannot be used to access a non-global member.
Correction
Use the proper syntax to access a non-global member of the class:
ClassName:MemberName
Examples

Using the BaseColor member of the Drawing class



Code triggering the error
Drawing::BaseColor

Possible correction
Use the correct syntax.
Drawing:BaseColor
This page is also available for…
Comments
Click [Add] to post a comment