home bbs files messages ]

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,035 of 9,834   
   Robert Molyneux to marco   
   Re: alternating row colors   
   31 Dec 06 21:03:31   
   
   From: ibisnest_removeantispam_@iinet.net.au   
      
   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.   
      
   Try using one of the Windows colours (see help for Color Constants) instead   
   of gray.   
      
   "marco"  wrote in message   
   news:45977917$1_6@news.bluewin.ch...   
   > pdx7,w2000/XP   
   >   
   >   
   > rn = self.rowNo   
   > if rn.mod(2) = 0 then   
   >    self.color=gray   
   >    else   
   >    self.color = transparent   
   > endIf   
   >   
   > putting this code in the open method of each field of a grid works   
   > pretty well but leaves a short space with of the grid color among field.   
   > The same code the tableframe.record open method does leave spaces but   
   > does not work scrolling.   
   > So the solution is?   
   >   
   > thanks   
   > marco   
   >   
   > p.s: if you read this today 31.12 shame on you for not taking care of   
   > your family instead of being crucified in front of your pc! But ou would   
   > be execused as a martyr...   
   > Happy new year to whom is reading this tomorrow   
      
   --- 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