| |
Color
Picker is an ActiveX control that can be used in your Visual Basic
6 and VBA projects. The purpose of the control is to graphically display the
standard AutoCAD colors 1 thru 8, and allow the user to choose one.
Then, return its color value in your program for setting line color,
point color, block color, etc. Its design is intuitive, and has a very
small footprint.
Color
selection is hot track able to provide visual feedback to the
user.
Methods
include GetColor, for returning the AutoCAD color value. SetColor, for
setting the color on the button. The control exposes two events; Click
event and Change event. User properties consist of GridColor,
ToolTipText, and Enabled.
To
make this control available to your Visual Basic toolbox: download it to
your windows system directory and register it. Then add the component
CTLacColorPicker to your projects toolbox. Freeware!
|
|
|
Windows 98SE, ME, NT, 2000, or XP.
VB 5 or newer or AutoCAD 14 or newer for VBA
projects. |
|