Quote:
|
Originally Posted by Yuri Korin
The code that you had was very close to correct. What you need is:
tcursor.record.field.font.color = RED
RED is a Paradox constant of type LongInt.
This will change the font color, not the field color which is what I assume that you want. If you want to set the field's color, you will need this:
tcursor.record.field.color = RED
Once again, very close.
I hope this helps you.
Cheers,
Yuri
|
That's simply FALSE, as i've already told varun_b by private messages.
The tcursor is a DATA object, and as such HAS NO VISUALIZATION PROPERTIES.
You cannot show onscreen a tcursor: you must use a table frame, a form , or something like this to show the table; then, the tableframe field objects, within the record object will have the properties Yuri describes and so you'll be able to insert a script on the record's arrive event to turn red the field font color if a condition is verified.
To be perfecly clear: a tcursor has NO visualization properties at all, so that's simply not possible.