2008-05-08 14:25 UTC
Hello,
I have three problems with a grid. Use the attached project and lisp with A14.
1. 4 of 6 switchable icons do not work. The only difference is that the preset icons are not the first which were defined in setitemstyle-method. An example: when I use (dcl_grid_setitemstyle grid row col 3 4 5) and I continue with (dcl_control_setitemimage control row col 4) the images can be switched, but not when using (dcl_control_setitemimage control row col 5).
2. I can preset ACI color in the rgb-style cell using (dcl_Grid_SetItemStyle grid row col 31 83). Then the right color will be shown. But no text is shown. When I add the text later then an rgb color 0,0,0 will be set. How can I avoid that? Or better: how can I make sure that the color number is shown as text, too? In this cell ACI, RGB and color books shall be selectable. That's why cell style 20 and 30 are not good in this case.
3. How to preset a lineweight value?
Regards, Fred
I have three problems with a grid. Use the attached project and lisp with A14.
1. 4 of 6 switchable icons do not work. The only difference is that the preset icons are not the first which were defined in setitemstyle-method. An example: when I use (dcl_grid_setitemstyle grid row col 3 4 5) and I continue with (dcl_control_setitemimage control row col 4) the images can be switched, but not when using (dcl_control_setitemimage control row col 5).
2. I can preset ACI color in the rgb-style cell using (dcl_Grid_SetItemStyle grid row col 31 83). Then the right color will be shown. But no text is shown. When I add the text later then an rgb color 0,0,0 will be set. How can I avoid that? Or better: how can I make sure that the color number is shown as text, too? In this cell ACI, RGB and color books shall be selectable. That's why cell style 20 and 30 are not good in this case.
3. How to preset a lineweight value?
Regards, Fred