Link to home
Start Free TrialLog in
Avatar of VistarTechnologies
VistarTechnologies

asked on

Turn label of a field red when data has changed in another field

I am attempting to change the color of a font in a label to RED if the value of an adjacent field has changed.  Doesn't matter what it changed to, I just need it to turn red if the item has changed at all.  I am new to this so any help appreciated.  Maximum points awarded.  I need it urgently!
Avatar of InteractiveMind
InteractiveMind
Flag of United Kingdom of Great Britain and Northern Ireland image

what language?
Avatar of Focusyn
Focusyn

Also need to know - when the "adjacent field" changes - how does it change?  Is the adjacent field a user input field or is it databound and read-only?
Avatar of VistarTechnologies

ASKER

Powerbuilder 9.  It is a dropdown data window field.  It is databound, yes.  It pulls lookups from another table.  It's not read only.
In the MS world, many objects have a ForeColor property that you can change dynamically.
ASKER CERTIFIED SOLUTION
Avatar of spdude
spdude

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try this:  this is in c#.. i dont know if it helps

Label.ForeColor = System.Drawing.Color.Red;