Paul, I am confident that Emmitt is correct, as I recently asked a similar Q 
and rec'd a similar answer.  

However, I've inserted a block of code from my On_Before_Generate.EEP related 
to this issue, just in case any of this is useful to you.

I set a variable equal to the value of the field in question.  In the EEP, I 
test its value, in this case, if vBF4_OBLIGATED_CHANGE (v=Variable, BFn=Break 
Footer N, _Field_Name) is zero.  Then, if it's zero, I set the color property 
of the font and/or background.  However, I had some issues, then learning to 
do, when I started foolin' 'round w/more colorful language, as it were.  In the 
block below are the mostly-commented-out results of most of my experimental 
successes and failures.Belowvarious colors.

FWIW,
Steve in Memphis



IF vBF4_OBLIGATED_CHANGE = 0 THEN

   -- *** Basic BLACK, can't go wrong there  ***
   PROPERTY BF4_OBLIGATED_CHANGE FONT_COLOR 'BLACK'             

   -- *** RGB Color, a la carte, as it were, ***
   -- *** this one is a shade of orange,     ***
   -- *** partly because it's Tennessee,     ***
   -- *** partly because I like the looks,   ***
   -- *** attention-getting, but not scary.  ***
   PROPERTY BF4_OBLIGATED_CHANGE COLOR '[R255,G176,B128]'

   -- *** Paints field some hue of green ... ***
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'LIGHTCYAN'

   -- *** Paints field some hue of green ... ***
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'LIGHT CYAN'

   -- *** Paints field some hue of green ... ***
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'CYAN' 

   -- *** Works, but c'mon, CYAN, even when  ***
   -- *** it's called AQUA, is still CYAN?   ***
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'AQUA'

   -- *** Your choice, YELLOW, works a-okay  ***
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'YELLOW'

   -- *** Try this one, if you like, it works, as probably do ***
   -- *** many more such statics/constants for system colors. ***
   -- *** Search WWW, maybe for "system color constants" or   ***
   -- *** RBHelp for 'activecaption' to see most||all these   ***
   -- *** enumerated under some of the form/properties help.  *** 
   -- PROPERTY BF4_OBLIGATED_CHANGE COLOR 'ActiveCaption'

ENDIF


==================================================================================================

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
InterlockInfo
Sent: Wednesday, July 02, 2008 1:07pm 13:07
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Simple Component / To many?

Report Area / Component / Fields:


In a report,  real simple one page per/customer.  Let's say you print 90% of 
all fields on this report. There are blanks because your sales staff still 
needs information.

Do you have to assign a separate and id every field in this report if you want 
to print this report with a square yellow box (highlighted box to grab somebody 
attention).  Or can you ?

We are talking about 40+fields.    I have all 4th of July weekend to assign 
comp id's if needed.


RBase 7.6, Color Xerox Laser Printer, Linux Server, Windows XP





Sincerely,
Paul Dewey 


New Horizon Interlock Inc.
New Horizon Safety Diagnostics Inc.
www.interlockinfo.com
Saving Lives - One Breath at A Time  (tm)


Reply via email to