Sami,

Clear-headed - I think - and I've got this working almost perfectly!

What I haven't been able to figure out is why as I move through the rows of the 
s/r the wrong image is shown until the row is exited and how to update the 
final row correctly.

The first row displays a wrong image on starting the form but corrects it on 
leaving the row.
Each row then seems to display a wrong image on moving from row to row but 
corrects it on leaving the row.
The last row always seems to display the wrong image except when moving to any 
row above.

It _seems_ as if the image that is current in one row is carried into the next 
row until that row is left when the correct image appears and that image goes 
to the next row until that is left etc.

There is, of course, an easy solution: have an unused/unwanted row at the end 
of the s/r.

If this image gets through then I can tell you that rows 1-5 & 7 are correct 
but the active row 6 is wrong although the data is the same as row 3:



Any thoughts on what I might have over-looked?
Thanks & regards,
Alastair.

  ----- Original Message ----- 
  From: Alastair Burr 
  To: RBASE-L Mailing List 
  Sent: Tuesday, July 15, 2008 10:53 PM
  Subject: [RBASE-L] - Re: Colored object in Scrolling Region


  Many thanks to you both Sami & Karen and apologies for mixing you up earlier.

  As my brain was clearly fuddled a good few hours ago and it's now nearly 
eleven at night here I'll take a, hopefully, more clear-headed look at this one 
tomorrow.

  It would be really nice to make this work because I can get rid of two 
controls in the rows of the s/r when it does - so thanks again to you both and 
I'll holler if I get stuck.

  Regards,
  Alastair.

    ----- Original Message ----- 
    From: Sami Aaron 
    To: RBASE-L Mailing List 
    Sent: Tuesday, July 15, 2008 8:59 PM
    Subject: [RBASE-L] - Re: Colored object in Scrolling Region


    So, Alastair -

     

    Create a table with a field to indicate a code for each type of incomplete 
data and another VARCHAR field to hold some image.  Then do a form variable to 
lookup the image based on the value in your incomplete category and locate the 
variable image on the scrolling region.

     

    If you'd like me to send you a screen shot of my final form, I'd be happy 
to do privately - just let me know.

     

    Best regards,

    Sami

     

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

     

    Sami,

     

    Would you mind explaining briefly, please, how you do that?

     

    I have a form where I try to highlight rows where some item in the row has 
incomplete data but I have never been able to get it to really look right. My 
method works but it's not as effective as I'd like. I already use a variable 
label but my quick attempt to use an On Row Entry EEP just now to change the 
colour didn't work so I guess that I'm just going about it the wrong way.

     

    Thanks & regards,

    Alastair.

     

     

      ----- Original Message ----- 

      From: [EMAIL PROTECTED] 

      To: RBASE-L Mailing List 

      Sent: Tuesday, July 15, 2008 3:09 PM

      Subject: [RBASE-L] - Re: Colored object in Scrolling Region

       

      Sami:  I assume you want to change a DBEdit field?  If so, then I agree 
with Larry.  But Labels will evaluate fine per row.  I do that all the time.  
If it's an editable field, anyway you can get around with putting words around 
the field in a color?  Like maybe defining a form expression:
        vAsterisks = (IFGT( columnname, 0, '  ', '****'))
      and make the field red?

      Karen





      Sami -- I believe you're out of luck.  In scrolling regions, and even in 
the underlying Windows construct, an item repeated in each band will have the 
same properties.

      If the object in question is text, can you fake it out by having two 
different objects calculated in the variables list, with the (say) red one 
evaluating to NULL when it should display black and the black one evaluating to 
NULL when it should display 

No virus found in this incoming message.Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.11/1553 - Release Date: 15/07/2008 
05:48No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.11/1553 - Release Date: 15/07/2008 
05:48
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.11/1553 - Release Date: 15/07/2008 
05:48

Reply via email to