Undeclared identifier: dpVertical
Hello,
Using Delphi 7, Report Builder 7.02.
I have created a report that will need to be put in a 3-hole binder. If the
duplex printing is dpNone, then the marginleft is the same on all pages...
if not, if it is dpVertical, then the marginLeft changes on alternate pages.
Delphi gives me a "Undeclared identifier: dpVertical" when I try to verify
if (Rapport.Engine.Page.PrinterSetup.Duplex = dpVertical) then
begin
....
end;
I tried to put in the uses the ppPrintr file but it still does not see the
duplex type...
Please help.
H. Dumas
Using Delphi 7, Report Builder 7.02.
I have created a report that will need to be put in a 3-hole binder. If the
duplex printing is dpNone, then the marginleft is the same on all pages...
if not, if it is dpVertical, then the marginLeft changes on alternate pages.
Delphi gives me a "Undeclared identifier: dpVertical" when I try to verify
if (Rapport.Engine.Page.PrinterSetup.Duplex = dpVertical) then
begin
....
end;
I tried to put in the uses the ppPrintr file but it still does not see the
duplex type...
Please help.
H. Dumas
This discussion has been closed.
Comments
The TppDuplexType is located in the ppTypes.pas file. Adding ppTypes to
your uses clause should solve the issue.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Helene