Combo Box and Style=4 Color

Started by Emiliano, April 09, 2014, 03:49:16 AM

Previous topic - Next topic

Emiliano

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?"

owenwengerd

A Style 4 combo can display AutoCAD colors 1 - 255, plus ByLayer and ByBlock. You can use ComboBox-AddColor to add additional colors.

Emiliano

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?


roy_043

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

marcoheuer

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
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

owenwengerd

Ah, I see Marco. I will investigate.

owenwengerd

Quote from: marcoheuer on April 10, 2014, 07:02:28 AM
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.

Emiliano

ahhhhhhhhh......

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

'm waiting for the next build.  :)

Emiliano

Quote from: owenwengerd on April 10, 2014, 07:57:44 PM
Quote from: marcoheuer on April 10, 2014, 07:02:28 AM
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?

owenwengerd

I guess late this week or over the next weekend.

marcoheuer

#10
thanks owen, it works perfectly.

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office