Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Visual DCL Programming
»
OpenDCL
»
Topic:
Dcl_Grid_SetItemStyle
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Dcl_Grid_SetItemStyle (Read 5138 times)
0 Members and 1 Guest are viewing this topic.
paul_s
Guest
Dcl_Grid_SetItemStyle
«
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?
Logged
owenwengerd
Bull Frog
Posts: 451
WWW
Re: Dcl_Grid_SetItemStyle
«
Reply #1 on:
August 24, 2009, 02:29:29 PM »
Can you be a little bit more descriptive? What exactly do you mean by "weird colors"?
Logged
Owen Wengerd @
Outside The Box
/
ManuSoft
/
CADLock, Inc.
paul_s
Guest
Re: Dcl_Grid_SetItemStyle
«
Reply #2 on:
August 24, 2009, 02:35:12 PM »
Hi Owen,
Actually, to be more specific it has only three colors..black, blue and dark blue.
Logged
owenwengerd
Bull Frog
Posts: 451
WWW
Re: Dcl_Grid_SetItemStyle
«
Reply #3 on:
August 25, 2009, 09:30:41 AM »
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.
Logged
Owen Wengerd @
Outside The Box
/
ManuSoft
/
CADLock, Inc.
paul_s
Guest
Re: Dcl_Grid_SetItemStyle
«
Reply #4 on:
August 25, 2009, 01:43:18 PM »
Hi Owen,
Here is a sample project. It will just show the layers in drawing & their colors.
Logged
owenwengerd
Bull Frog
Posts: 451
WWW
Re: Dcl_Grid_SetItemStyle
«
Reply #5 on:
August 25, 2009, 05:30:29 PM »
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.
Logged
Owen Wengerd @
Outside The Box
/
ManuSoft
/
CADLock, Inc.
Robert_s
Guest
Re: Dcl_Grid_SetItemStyle
«
Reply #6 on:
August 25, 2009, 06:03:12 PM »
Thank you Owen. Thank for all your work!
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Visual DCL Programming
»
OpenDCL
»
Topic:
Dcl_Grid_SetItemStyle