OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: roy_043 on May 18, 2011, 02:45:25 AM

Title: Problem with color -22 and Bricscad 11
Post by: roy_043 on May 18, 2011, 02:45:25 AM
Bricscad 11.2.13
Windows XP
OpenDCL 6.0.2.3

model space background color > control background color (set to -22)
                         256 > black                (OK)
                         252 > darker grey          (CC = Complementary Color)
                         253 > much darker grey     (CC)
                           1 > cyan                 (CC)
                           2 > blue                 (CC)
                           3 > magenta              (CC)
                           4 > red                  (CC)
                           5 > yellow               (CC)
                           6 > green                (CC)
                           7 > black                (CC)
                           8 > lighter grey         (not CC)
                           9 > much darker grey     (CC)
                          10 > cyan                 (CC)
                          11 > dark green           (CC)

Workaround:
(dcl_Control_SetBackColor project_form_control (getvar 'bkgcolor))
Title: Re: Problem with color -22 and Bricscad 11
Post by: owenwengerd on May 20, 2011, 09:52:42 AM
I have reported the bug to Bricsys.
Title: Re: Problem with color -22 and Bricscad 11
Post by: roy_043 on May 25, 2011, 12:32:03 AM
Thank you.
Title: Re: Problem with color -22 and Bricscad 11
Post by: roy_043 on September 20, 2011, 07:19:35 AM
BC 11.4.6
ODCL 6.0.2.5
Win XP

The Bricscad team has obviously been working on this problem. The current situation is that all the colors in the list display OK. But color 256, which used to display OK, now displays as white.

New workaround:
Code (autolisp) Select
(dcl_Control_SetBackColor project_form_control (if (= (getvar 'bkgcolor) 256) 0 -22))

I'll file a Bricscad support request.