error in DBSRichViewEdit1.PageProperty.Orientation

General TRichView support forum. Please post your questions here
Post Reply
valdenir de matos
Posts: 2
Joined: Mon Feb 28, 2011 5:14 pm
Location: Eusébio - Ceará - Brasil
Contact:

error in DBSRichViewEdit1.PageProperty.Orientation

Post by valdenir de matos »

Hello everybody,
Because this code does not work?

Code: Select all

procedure TFPrincipal.HorientacaoHorizontalExecute(Sender: TObject);
begin
  DBSRichViewEdit1.PageProperty.Orientation := poHorizontal;
end;

procedure TFPrincipal.HorientacaoVerticalExecute(Sender: TObject);
begin
  DBSRichViewEdit1.PageProperty.Orientation := poVertical;
end;
shows this error
E2003 Undeclared identifier: 'poHorizontal'
E2003 Undeclared identifier: 'poVertical'
Thank you for your attention.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Add the unit Printers in "uses".
valdenir de matos
Posts: 2
Joined: Mon Feb 28, 2011 5:14 pm
Location: Eusébio - Ceará - Brasil
Contact:

Post by valdenir de matos »

Add the unit Printers in "uses".
Thanks
Post Reply