Lynn,
This is a hard one to pull off, primarily because of the event model and how it behaves. In my experience, this sort of effect needs some careful planning, but once that's been done, it becomes fairly straightforward.
To demonstrate, let's assume we're creating a form containing the traditional sample Customer and Orders sample tables. Furthermore, Orders is a detail table of Customer, so you're showing a summary of the customer's orders while editing their address information.
Now, let's assume you want each order's record to be colored according to the value in the Total_Amount field, thereby highlighting the largest orders (and the most valuable customers).
If you look at this from a purely operational point of view, you're really coloring the record based on an individual field value. We also know that it's very possible to interfere with the event model by placing code into the middle of thwat's called the recalc/repaint cycle.
So, we're looking for an event that fires after the Total Invoice field has been completely updated and drawn. NewValue is an excellent candiate in this case because we're designing a side-effect; we're not validating the value. We need to make certain we do our tyhing after the internal behavior has run, so we'll need a doDefault to avoid interfering with the recalc/repaint cycle.
Given all of this, here's one way to achieve the effect:
Code:
method newValue(var eventInfo Event)
var
liNewColor LongInt
uio uiObject
endVar
doDefault
uio.attach( container.FullName )
switch
case self.value > 50000 : liNewColor = Red
case self.Value > 25000 : liNewColor = Yellow
case self.Value > 10000 : liNewColor = Green
otherwise : liNewColor = LightBlue
endSwitch
uio.Color = liNewColor
endMethod
You'll note that I'm changing the color of object containing the Total_Invoice field object. Thus, my code suports any number of Total_Invoice field objects.
Also, note that I refer to the container using its full name, which includes the default (or "noise"

names Paradox assigns to each record object in the table grid.
(By the way, if you're looking to validate values (that is, determine if you want to accept them before they're saved, the best place I've found is the ChangeValue event
before the default behavior has fired.)
Try restating your problem in this fashion. Look for a field that changes value based on your needs and then add similar code to change that object's container.
I believe you'll find this a more successful approach in the long run.
Hope this helps...
-- Lance