Normal Topic Shade Every Record Line (Read 501 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Shade Every Record Line
Jan 29th, 2006 at 12:00pm
Print Post Print Post  
Hello!

There´s a benefit to shaded sections when heavy textual information is being viewed.
Shading lines in alternate colors or shades makes it easier for the eye to follow the line across the page. Sesame enables this technique to be easily used for Reports and Table Views that may be printed on paper or viewed online ?

Any suggestion is appreciated.
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Shade Every Record Line
Reply #1 - Jan 30th, 2006 at 12:11am
Print Post Print Post  
I know I have done that before, no time for details now, but here is the general approach:

Make a hidden element, line counter.

Do IF condition:
IF line number is odd, then change background color to green.
If line number is even, then change background color to white.

To determine Odd/Even.
Divide line number by 2.  If have a remainder, then line is ODD, else line is EVEN

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

Or set a static variable, Int,  for line color status.
initial value =1
After closing each line multiply variable by -1 to toggle back and forth between +1/-1. 
If value = +1, color=white,
If value = -1, color=green,

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



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: Shade Every Record Line
Reply #2 - Feb 3rd, 2006 at 2:29pm
Print Post Print Post  
Hello Bob,

Thank you very much for the quick reply.
The people on this web-site forum are fantastich !!

the second proposition with the static variable sounds great.  But i need please more explaining.

Curiousity  Proposition:
"Your Eye is still looking for us" but it s better to see a photo  von Bob , Carl, Ray, Erika and the other..
I thank the idea to imagine how people look like is very importing to communicate with them  is´t it ?
The only Person i imagine the personality and character is Spencer Wulwick!
Soon you will see my picture  on this forum . Each one in  this forum is absolutly welcom . Be my Guest in  Germany (perhaps as tourist )!

I´m just curious.
« Last Edit: Feb 3rd, 2006 at 10:03pm by Amor »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged