Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 8,039 of 9,834    |
|    marco to Robert Molyneux    |
|    Re: alternating row colors    |
|    03 Jan 07 11:01:40    |
      From: n_sp_hum_marco.foglia@tucsoft.com              Robert Molyneux wrote:       > Marco, try this code in a field in a table frame - note that the container       > (ie the record) is the object to be coloured.       >       > ;==============       > method newValue(var eventInfo Event)       > var       >       > myRec longint       >       > endvar       >       > myRec = self.recno       >       > self.container.color = iif(myRec.mod(2) = 0, cl3DLight, Transparent)       >       > endMethod       > ;==============              yeah, that's perfect!       thank you       mrco              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca