FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Effect Pjama on Treport ( from Xbrowse)
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Effect Pjama on Treport ( from Xbrowse)

Posted: Sat Feb 22, 2025 07:55 PM
I wish make on Report alternate lines of record as I have on xbrowse




to make report from xbrowse I use this
 oBrw:Report( cTitle, , , ;
         { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,aCampi ) } )
 
  function MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields )
 ...
 
 oRep:oShdBrush := TBrush():New(,nRgb(219,229,241))
   oRep:bskip := { || IF(oRep:nCounter % 2 =0 , oRep:lShadow :=.F.,oRep:lShadow :=.T.) }
         AEval( oRep:aColumns, { | o | o:lShadow := ! o:lShadow } )
         
         
         .....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion