CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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

 
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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" )
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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 ) )
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by MarcoBoschi »

It works fine
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by Enrico Maria Giordano »

Ok, so the problem is only with PDFCreator. Which version of PDFCreator are you using?
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by MarcoBoschi »

Free v5.1.2.5
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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.
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by Enrico Maria Giordano »

Ok, I tried your sample and confirm the problem. I have no clue about the cause, though... :-(
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post 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
8)
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by Enrico Maria Giordano »

Please try with PDFCreator.JobQueue instead of PDFCreator.PDFCreatorObj.
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by MarcoBoschi »

as usual :roll:
Marco Boschi
info@marcoboschi.it
User avatar
Enrico Maria Giordano
Posts: 8752
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by Enrico Maria Giordano »

Do you mean that you get the same problem with PDFCreator.JobQueue?
User avatar
MarcoBoschi
Posts: 1071
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Post by MarcoBoschi »

Yes I do
Marco Boschi
info@marcoboschi.it
Post Reply