WPCubed Product Support

Value too large for a char attr ?

what is the cause of this error:

[EAssertionFailed]Value too large for a char attr (C:\Program Files\WPTools5\D7\WPRTEDefs.pas, line 28407

Thanks.

#1 ♥ 0
3.7k Views 2 users read 1 min

Error in this line:

DefaultAttr.ASet(WPAT_CharColor, clBlue);

How? Thanks.

#2 ♥ 0
support

Hi,

DefaultAttr.ASet(WPAT_CharColor, clBlue);

is not correct since WPTools works internally with color tables. You need to use

DefaultAttr.ASetColor(WPAT_CharColor, clBlue);

Kind Regards,

Julian Ziersch

#3 ♥ 0
This category is archived. No new posts are possible.