OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Juerg W. Menzi on April 21, 2015, 08:28:56 AM

Title: Label foreground color 8.0.0.13
Post by: Juerg W. Menzi on April 21, 2015, 08:28:56 AM
Since I've changed to runtime 8.0.0.13 - because of AutoCAD2016 - all label controls loose the foreground color. In studio they are displayed correct, in runtime they change to black. Doesn't matter what color they have in studio...

What I'm doing wrong? Or is this a bug?

Thanks for enlighten me
Jürg

Win7-64, AutoCAD2015/2016
Title: Re: Label foreground color 8.0.0.13
Post by: Fred Tomke on April 21, 2015, 12:03:17 PM
Hi, cannot reproduce this with the attached sample.
But I did not test it with 2016.
Regards, Fred
Title: Re: Label foreground color 8.0.0.13
Post by: Juerg W. Menzi on April 22, 2015, 12:41:16 AM
Hi Fred

The problem exists in 2015/2016.
Your sample works as expected, but the attached sample not.
I assume there is one difference: my sample was originally created with 8.0.0.5 or 8.0.0.7

Cheers
Jürg
Title: Re: Label foreground color 8.0.0.13
Post by: owenwengerd on April 23, 2015, 11:27:18 AM
I am investigating. It looks like the problem is caused by a transparent dialog background. if you give the main form a non-transparent background, the labels display as expected.
Title: Re: Label foreground color 8.0.0.13
Post by: owenwengerd on April 23, 2015, 12:32:18 PM
This should now be fixed in the next build, at least in Windows 7. I didn't test in Windows XP, but I suspect the fix might cause incorrect backgrounds on Windows XP.
Title: Re: Label foreground color 8.0.0.13
Post by: Juerg W. Menzi on April 24, 2015, 12:36:37 AM
Hi Owen

Yep, seems to be the reason. Changing the label background color to another than transparent, the foreground color remains also.

Cheers
Jürg