xbrowse report & Preview style

xbrowse report & Preview style

Postby Silvio.Falconi » Fri Nov 11, 2022 3:23 pm

Image

to make fast I made oThis:oLbx:report()

But if I wish print al so the lines ? (Horizontal e and vertical separators) How I can do ?

I notice on Windows 10 the style of Preview bar is not for Windows 10 but it is also 2007 style, how change it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: xbrowse report & Preview style

Postby Antonio Linares » Fri Nov 11, 2022 8:49 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: xbrowse report & Preview style

Postby Silvio.Falconi » Fri Nov 18, 2022 1:55 pm

Antonio Linares wrote:Dear Silvio,

For the first question:

http://forums.fivetechsupport.com/viewt ... iew+bsetup



Antonio,
I Tried with

local bSetUp := {|oRep| oRep:CellView()}

@ 100,10 BUTTON oBtnPrint PROMPT "Stampa" of oDlg;
SIZE 80,22 ;
ACTION oBrw:Report( cTitle, .t., , bSetUp )

but I see only the horizontal lines
sample:





or
local bSetUp := {|oRep, oBrw, n| RepSetUp( oRep, oBrw, n )}
static function RepSetUp( oRep, oBrw, n )

oRep:lJoin := .t.
oRep:lSeparator := .t.
oRep:lBoxOnTotal := .t.
AEval(oRep:aColumns, {|o| o:lGrid := .t.} )

return nil



Image

I not see vertical lines
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: xbrowse report & Preview style

Postby nageswaragunupudi » Fri Nov 18, 2022 5:29 pm

Code: Select all  Expand view
  bSetUp   := < |oRep, Brw, n |
      if n == 2
         oRep:CellView()
         return nil
      endif
      return 2
      >

oBrw:Report( cTitle, nil, nil, bSetup )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse report & Preview style

Postby nageswaragunupudi » Fri Nov 18, 2022 5:29 pm

Code: Select all  Expand view
  bSetUp   := < |oRep, Brw, n |
      if n == 2
         oRep:CellView()
         return nil
      endif
      return 2
      >

oBrw:Report( cTitle, nil, nil, bSetup )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse report & Preview style

Postby Silvio.Falconi » Sat Nov 19, 2022 9:49 am

nageswaragunupudi wrote:
Code: Select all  Expand view
  bSetUp   := < |oRep, Brw, n |
      if n == 2
         oRep:CellView()
         return nil
      endif
      return 2
      >

oBrw:Report( cTitle, nil, nil, bSetup )
 




thanks what you mean for n?


look the image
Image

1. the multiheader non have the line
2. there are blank pages every page created in all 7 pages of which three are blank
3.on Pdf there are not blank page, there are only 4 pages but the number of page are 1,3,5,7 I sent you the pdf
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests