FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 10:17 AM
It's just a report.
In my notebook I have 125% in the screen options in Scale and layout "chang the size of text, apps ant other items."
If I run this little app, when I click on the button the dialog become more little and it moves.
The question is: Pdfcreator problem or something in fivewin?

Many thanks

Marco

Code (fw): Select all Collapse
#include "fivewin.ch"
FUNCTION MAIN
LOCAL oPdfCreator
LOCAL oDlg
LOCAL oButton

DEFINE DIALOG oDlg

@ 1 , 1 BUTTON oButton OF oDlg ACTION  ( oPdfCreator := CreateObject( "PDFCreator.PDFCreatorObj" ) , MsgInfo( oPdfcreator ) )

ACTIVATE DIALOG oDlg CENTER


RETURN NIL
Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 01:34 PM
Change this and report back if the problem persist, please:
Code (fw): Select all Collapse
@ 1 , 1 BUTTON oButton OF oDlg ACTION MsgInfo( "Test" )
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 02:08 PM
Emag,
in this version the program is ok!
King regards
Marco
#include "fivewin.ch"
FUNCTION MAIN
LOCAL oPdfCreator
LOCAL oDlg
LOCAL oButton

DEFINE DIALOG oDlg

// @ 1 , 1 BUTTON oButton OF oDlg ACTION ( oPdfCreator := CreateObject( "PDFCreator.PDFCreatorObj" ) , MsgInfo( oPdfcreator ) )
@ 1 , 1 BUTTON oButton OF oDlg ACTION MsgInfo( "Test" )

ACTIVATE DIALOG oDlg CENTER


RETURN NIL
Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 03:59 PM
Ok, now try this and report back:
Code (fw): Select all Collapse
@ 1 , 1 BUTTON oButton OF oDlg ACTION  ( oExcel := CreateObject( "Excel.Application" ) , MsgInfo( oExcel ) )
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 08:19 AM

It works fine

Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 09:07 AM

Ok, so the problem is only with PDFCreator. Which version of PDFCreator are you using?

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 09:12 AM
Free v5.1.2.5
Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 09:18 AM

Can you tried with the latest version (5.2.0), please? Just to exclude something wrong in the version you are using.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 09:24 AM
Ok, I tried your sample and confirm the problem. I have no clue about the cause, though... :-(
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 09:42 AM
Using 5.2.0 I have the sema problem.
probably Pdfcreator needsa 100% scale to worl correctly
anyway thanks for your attention Enrico
8)
Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 10:58 AM

Please try with PDFCreator.JobQueue instead of PDFCreator.PDFCreatorObj.

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 11:34 AM
as usual :roll:
Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 11:42 AM

Do you mean that you get the same problem with PDFCreator.JobQueue?

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 04:09 PM

Yes I do

Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 04:14 PM
Ok, I ran out of ideas, sorry. :-(