Ignore:
Timestamp:
Aug 22, 2011, 8:25:21 AM (13 years ago)
Author:
george
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PrintPreview/UPrintPreview.pas

    r247 r266  
    134134procedure Register;
    135135
     136resourcestring
     137  SPrintPreview = 'Print preview';
     138  SPrint = 'Print';
     139  SPageSetup = 'Page setup';
     140  SPrinterSetup = 'Printer setup';
     141  SClose = 'Close';
     142  SZoomOut = 'Zoom out';
     143  SZoomIn = 'Zoom in';
     144  SNextPage = 'Next page';
     145  SPreviousPage = 'Previous page';
     146  SLastPage = 'Last page';
     147  SFirstPage = 'First page';
     148
    136149implementation
    137150
     
    382395procedure TPrintPreviewForm.FormShow(Sender: TObject);
    383396begin
     397  Caption := SPrintPreview;
     398  AClose.Caption := SClose;
     399  AClose.Hint := SClose;
     400  AFirstPage.Caption := SFirstPage;
     401  AFirstPage.Hint := SFirstPage;
     402  ALastPage.Caption := SLastPage;
     403  ALastPage.Hint := SLastPage;
     404  ANextPage.Caption := SNextPage;
     405  ANextPage.Hint := SNextPage;
     406  APreviousPage.Caption := SPreviousPage;
     407  APreviousPage.Hint := SPreviousPage;
     408  APageSetup.Caption := SPageSetup;
     409  APageSetup.Hint := SPageSetup;
     410  APrinterSetup.Caption := SPrinterSetup;
     411  APrinterSetup.Hint := SPrinterSetup;
     412  APrint.Caption := SPrint;
     413  APrint.Hint := SPrint;
     414  AZoomIn.Caption := SZoomIn;
     415  AZoomIn.Hint := SZoomIn;
     416  AZoomOut.Caption := SZoomOut;
     417  AZoomOut.Hint := SZoomOut;
     418
    384419  PrintDialog1.MaxPage := PrintPreview.Pages.Count;
    385420  ReloadPageNumber;
Note: See TracChangeset for help on using the changeset viewer.