TheSwamp
Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: paul_s on August 24, 2009, 02:20:03 PM
-
Hello,
Its been a while since I downloaded opendcl. I notice "Dcl_Grid_SetItemStyle" is
now "dcl_Grid_SetCellStyle ".
syntax:
(dcl_Grid_SetCellStyle LayerX_LayerAll_Grid1 Row [as Long] Column [as Long] Style [as Integer])
For style I use 30 (Autocad colors)...All my existing odcl projects that shows the colors
of drawing layers has weird colors. Is this a bug?
-
Can you be a little bit more descriptive? What exactly do you mean by "weird colors"?
-
Hi Owen,
Actually, to be more specific it has only three colors..black, blue and dark blue.
-
It sounds to me like the problem is unrelated to the cell style. Check your code that sets the colors, or post a simple sample project that demonstrates the problem so I can have a look at it.
-
Hi Owen,
Here is a sample project. It will just show the layers in drawing & their colors.
-
The code expects the cell text to be a true color in the form "<red>, <green>, <blue>". I've now added some code to the next build to interpret cell text with no comma as a simple AutoCAD color, so the next build should work as you expect.
-
Thank you Owen. Thank for all your work!