Jim:  before the enhancement below was added, I did it a decidedly low-tech 
way.  If you have an extra column available in your permanent table, or if you 
create a temp working table, then I would add a column, say   tmpColor TEXT 20, 
 and in code (or a calculated column definition) do something like set it to 
RED where Balance < 0.  Then on the DBGrid go to Effects > Row Colors > Row 
Background Color Field -- and select tmpColor as the column name.



Karen


    On Tuesday, December 16, 2025 at 01:52:52 PM CST, 'Tony IJntema' via 
RBASE-L <[email protected]> wrote:   

  
Jim,
 
Select the proper column in the grid and then the properties.
 
Choose Color
 
It looks like this:
 

 

 
 
Be careful with spaces and parentheses
 
Tony
 
 

 
 Op 16-12-2025 om 19:23 schreef 'jim schmitt' via RBASE-L:
  
 
 Hi, Group: 
  I have used scrolling regions for years, but now (at last) have moved on with 
EH DG grids.  I have an application for villages where the operator can do an 
inquiry on a consumer and view all of their detail transactions with balances 
within the grid.  There is no editing of fields within the grid, just viewing.  
The questions I have are:  - Can the grid, when displayed have the background 
color or the font color of the balance fields be different when the balance is 
negative ?   -  Where / how could I do this changing of colors ? 
  Thanks in advance . 
  Jim Schmitt 1-614-361-3942  -- 
 For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
 --- 
 You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
 To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/920070144.1466099.1765909396248%40mail.yahoo.com.
 

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/6135c658-6ac5-4318-8198-2de5584c057b%40cio-bv.nl.
  

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/1676317337.1305055.1765918778929%40mail.yahoo.com.

Reply via email to