Kbase P26661: Error 4078 when accessingt COLOR-TABLE method or attribute.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/10/2003 |
|
Status: Unverified
SYMPTOM(s):
Error 4078 when setting COLOR-TABLE system handle attribute.
Error 4078 when using COLOR-TABLE system handle method.
Cannot set an attribute of COLOR-TABLE system handle.
Cannot use a method of COLOR-TABLE system handle.
**Unable to set attribute <attribute> for <widget id>. (4078)
**Unable to set attribute <attribute> for DYNAMIC-WIDGET. (4078)
**Unable to set attribute SET-DYNAMIC for DYNAMIC-WIDGET. (4078)
**Unable to set attribute SET-RGB-VALUE for PSEUDO-WIDGET.(4078)
CAUSE:
You're accessing to an entry of the COLOR-TABLE that is over the NUM-ENTRIES attribute. Note that colors are 0-based, so if in your COLOR-TABLE you have NUM-ENTRIES = 40, you can set for colors from 0 to 39.
FIX:
Modify your code in order to access to the right entry in the COLOR-TABLE.