Hi Nicholas,
Normally I would, but I'm working with custom buttons and if I or the user
inputs a color for the button at run-time then I would like the change the
color scheme upon button click from say the initial
Color.FromArgb(((System.Byte)(64)),
((System.Byte)(64)),((System.Byte)(64))); to
Color.FromArgb(((System.Byte)(70)),
((System.Byte)(70)),((System.Byte)(70))); But the color palate is going to
be ie "Color.Olive" and I would like to change it to a Darker Olive color.
So the only way I can figure doing this is to convert the color to Argb then
add + 10 to the bytes. If that makes sense in what I'm trying to say.
Thanks for your replay
MikeY
"MikeY" <mi*******@yaho.com> wrote in message
news:%e*******************@news20.bellglobal.com.. .
Hi Everyone,
Is there a way (syntax) for converting/casting color so I can find the
System.Byte of my chosen color with in my button?
I have buttons colored ie "Color.Olive" and up to now I change the color
into another color. But what I want to do at run time is to find the
existing color say in FromArgb and just darken the existing color at run
time.
Any and all help is appreciated.
MikeY