By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,112 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,112 IT Pros & Developers. It's quick & easy.

How do I get a gradualy changing colors?

P: n/a
Hi All:

I'd like to fill a set of controls with colors (by probably setting
control.backcolor) that are changing gradually - e.g. start from dark green
and endup with lightgreen.

How can I do this? I suppose I will need to use the Hex values for the
colors?

Any help will be much appreciated!

TIA

Vinay
Apr 7 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
hi, try taking a look at the Drawing2D.LinearGradientBrush, that should be
what your looking for
--
-iwdu15
Apr 8 '06 #2

P: n/a
Vinay,

I thought that in the previous 101 samples are some GDI+ samples for that.

http://www.microsoft.com/downloads/d...displaylang=en

I hope this helps,

Cor
"Vinay" <vi**************@hotmail.remove.com> schreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi All:

I'd like to fill a set of controls with colors (by probably setting
control.backcolor) that are changing gradually - e.g. start from dark
green and endup with lightgreen.

How can I do this? I suppose I will need to use the Hex values for the
colors?

Any help will be much appreciated!

TIA

Vinay

Apr 8 '06 #3

P: n/a
Thank for the pointer - will look at this and the samples Cor suggested.
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:5A**********************************@microsof t.com...
hi, try taking a look at the Drawing2D.LinearGradientBrush, that should be
what your looking for
--
-iwdu15

Apr 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.