Ahhhh . to those who suggested using a Variable Image on each line - THANKS!
That's what I needed. (and thanks Javier for sending me your sample!)

 

To explain further - this scrolling region contains many lines of data and
each line pertains to different  Canadian provinces.  I wanted a strong
visual cue as to the particular province - and now I have a small image of
the provincial flag on each line - works great.

 

I just was so determined to change the color of something that I wasn't
seeing an alternate method!!!  

 

Thanks to all -

Sami

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence
Lustig
Sent: Tuesday, July 15, 2008 1:07 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Colored object in Scrolling Region

 

<< 

Thanks for the ideas - but what's happening is that the NULL record still
shows up in its own color even if I autosize the field.  I'd have 12 little
colored fields show up all the time on each row.  And if I make them
transparent, then the background color doesn't show up at all.

>> 


Sorry -- I thought you were changing the _font_ color, not the background
color.  If you want the background color, have you tried setting Autosize to
ON?  I'm not sure if that will evaluate on a line-by-line basis, but it
might.

Failing that, perhaps this will work:

1. Make the control transparent.
2. Behind the control, place a small Variable Image field the height and
width of the control.
3. Prepare some small image files of the appropriate height and width, each
one simply a different color field.  Store them in a table with a TEXT
column index with the color name.
4. Add a VARBIT variable to the variable list and use it to load one of the
images.
5. Attach the image variable to variable image control behind your value.
--
Larry

Reply via email to