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
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.
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