Combo Box and Style=4 Color

Started by Emiliano · 2014-04-09 10:49 UTC · 10 replies · SMF topic #2123

I noticed that the control "Combo Box" + "Style = 4 Color" displays the list of colors.
However, the list is only ByLayer, ByBlock and colors 1-2-3-4-5-6-7

you can see "all the other colors?"
A Style 4 combo can display AutoCAD colors 1 - 255, plus ByLayer and ByBlock. You can use {2} to add additional colors.
So you confirm to me that you can not add a link to the "select color" dialog to select another color.
So I should use 'ComboBox-AddColor' 255-7 = 248 times to add all the colors?

A combo box with 255/256 options? Is that wise? Why not use (acad_colordlg) or (acad_truecolordlg)?
This solution by Fred may be of interest:
http://www.opendcl.com/forum/index.php?topic=1654.msg8228#msg8228
hello owen,
in version 8.0.0.5 missing the items "select color ..." and "windows ..."
in version 7.0.0.8 they are still present.

best regards
marco
Ah, I see Marco. I will investigate.
author=marcoheuer link=topic=2123.msg10549#msg10549 date=1397138548 wrote:
in version 8.0.0.5 missing the items "select color ..." and "windows ..."


This is now fixed for the next build.

BTW, the new ComboBoxLab sample is a great tool for experimenting with combo box controls.
ahhhhhhhhh......

it seemed strange that it was my choice to include only the colors 1-7  ;D

'm waiting for the next build.  :)
author=owenwengerd link=topic=2123.msg10561#msg10561 date=1397185064 wrote:
[quote author=marcoheuer link=topic=2123.msg10549#msg10549 date=1397138548]
in version 8.0.0.5 missing the items "select color ..." and "windows ..."


This is now fixed for the next build.

BTW, the new ComboBoxLab sample is a great tool for experimenting with combo box controls.


When will you release the new build?
I guess late this week or over the next weekend.
thanks owen, it works perfectly.

best regards
marco