Changing backcolor and forecolor Colors on form based on changes to Text
Posted on 2006-05-06
I have a gui form that displays changing stock quotes in text boxes (One per symbol).
I would like to ...
1) When a quote is changed the backgroud color will change to LightGolden Yellow but only for two seconds where it should then be changed back to original color (white). This lets your eye catch what has just changed.
2) When the new quote comes in if it was a down change (based on what was originally in the text box the Forcolor would change to red etc. If up forcolor is changed to green etc. These can stay like this till a new quote is captured.
If you could show me by example this would be great.
Let me please express my thanks in advance for your graciuos help in this area. Hope all is well.