two print preview in the same prg

two print preview in the same prg

Postby damianodec » Thu Feb 07, 2019 12:01 pm

hi,
can I to manage two different PRINT PREVIEW in the same prg?

thanks
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: two print preview in the same prg

Postby Silvio.Falconi » Thu Feb 07, 2019 4:15 pm

why you need two preview on the same prg ?
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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: two print preview in the same prg

Postby karinha » Thu Feb 07, 2019 5:19 pm

* DeOndePartiu = Where it comes from

Code: Select all  Expand view  RUN

   IF DeOndePartiu = "GERARIMP"

      PRINT oPrn NAME "ORÇAMENTO" PREVIEW MODAL

   ELSEIF DeOndePartiu = "GERARPDF"

     cFile := "C:\NFEPDF\"+"ORCAM"+ALLTRIM( nProposta )+".PDF"

     // PRINT oPrn NAME cTPSerNome  FILE cFile
     PRINT oPrn PREVIEW NAME "
ORCAM"+ALLTRIM( nProposta )

   ENDIF


Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7835
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests