Page 1 of 2
CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 10:17 am
by MarcoBoschi
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: Select all | Expand
#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
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 1:34 pm
by Enrico Maria Giordano
Change this and report back if the problem persist, please:
Code: Select all | Expand
@ 1 , 1 BUTTON oButton OF oDlg ACTION MsgInfo( "Test" )
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 2:08 pm
by MarcoBoschi
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
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Mon Jan 29, 2024 3:59 pm
by Enrico Maria Giordano
Ok, now try this and report back:
Code: Select all | Expand
@ 1 , 1 BUTTON oButton OF oDlg ACTION ( oExcel := CreateObject( "Excel.Application" ) , MsgInfo( oExcel ) )
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 8:19 am
by MarcoBoschi
It works fine
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 9:07 am
by Enrico Maria Giordano
Ok, so the problem is only with PDFCreator. Which version of PDFCreator are you using?
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 9:12 am
by MarcoBoschi
Free v5.1.2.5
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 9:18 am
by Enrico Maria Giordano
Can you tried with the latest version (5.2.0), please? Just to exclude something wrong in the version you are using.
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 9:24 am
by Enrico Maria Giordano
Ok, I tried your sample and confirm the problem. I have no clue about the cause, though...

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 9:42 am
by MarcoBoschi
Using 5.2.0 I have the sema problem.
probably Pdfcreator needsa 100% scale to worl correctly
anyway thanks for your attention Enrico

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 10:58 am
by Enrico Maria Giordano
Please try with PDFCreator.JobQueue instead of PDFCreator.PDFCreatorObj.
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 11:34 am
by MarcoBoschi
as usual

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 11:42 am
by Enrico Maria Giordano
Do you mean that you get the same problem with PDFCreator.JobQueue?
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 4:09 pm
by MarcoBoschi
Yes I do
Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Posted: Tue Jan 30, 2024 4:14 pm
by Enrico Maria Giordano
Ok, I ran out of ideas, sorry.
