query spain
Dec 30 2011, 07:06 AM
good days !!!
Merry Christmas and happy new year for all !!
I need change the papersize property of a repor in runtime ..
I load the .fr3 with frx.loadfromfile( xxx ), and in the script ,
in event page1.beforeprint i want to do something
page1.papersize := DMPAPER_A5;
BUT,,, this does not work,,,
i can help me ?
Thanks ...
gpi
Dec 30 2011, 07:29 AM
Try to change paper size in main procedure of script
query spain
Dec 30 2011, 09:06 AM
QUOTE(gpi @ Dec 30 2011, 07:29 AM)

Try to change paper size in main procedure of script
This is the result of the Attempt
Page1.PaperSize := DMPAPER_A5; // NOT DECLARED IDENTIFIER DMPAPER_A5 ...
Peta
Dec 30 2011, 09:52 AM
QUOTE(query spain @ Dec 30 2011, 05:06 PM)

QUOTE(gpi @ Dec 30 2011, 07:29 AM)

Try to change paper size in main procedure of script
This is the result of the Attempt
Page1.PaperSize := DMPAPER_A5; // NOT DECLARED IDENTIFIER DMPAPER_A5 ...
DMPAPER_A5 is declared in Windows.pas
You can use:
Page1.PaperSize := 11;
Or declare a constant.