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,037 of 9,834    |
|    marco to Robert Molyneux    |
|    Re: alternating row colors    |
|    02 Jan 07 18:27:30    |
      From: n_sp_hum_marco.foglia@tucsoft.com              Robert Molyneux wrote:       > Put the code in the newValue method of a field in the table frame / grid.       >       > The open method only fires once. The newValue method fires for every row as       > it is displayed or changed.              Cher Robert,              merci pour ta reponse,              -if you put the code in a field you will have small gaps between fields       on the same row.       -with open method works well (apart the small gaps)       -with newvalue does not work at all              I thought this code in the open method [ #record5 instead of self]:       if rn.mod(2) = 0 then        #record5.color=gray        else        #record5self.color = white       endIf              but does not work                     >       > Try using one of the Windows colours (see help for Color Constants) instead       > of gray.       i dont know if pdx7 help give you the translation of a color into       longint but while programming it's much faster to use basic color string       unless you manage to remember the code for gray (12632256), yellow       (65535), red (255). I suppose the chances corel programmers will change       the gray code are <1/10000000...                                          >       > "marco" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca