Changeset 266


Ignore:
Timestamp:
Aug 22, 2011, 8:25:21 AM (13 years ago)
Author:
george
Message:
Location:
PrintPreview
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • PrintPreview/UPrintPreview.lfm

    r247 r266  
    1111  OnResize = FormResize
    1212  OnShow = FormShow
    13   LCLVersion = '0.9.30'
     13  LCLVersion = '0.9.31'
    1414  WindowState = wsMaximized
    1515  object ToolBar1: TToolBar
     
    2424    TabOrder = 0
    2525    object Button1: TButton
    26       Left = 427
     26      Left = 482
    2727      Height = 22
    2828      Top = 2
    29       Width = 51
     29      Width = 62
    3030      Action = AClose
    3131      TabOrder = 0
     
    4343      Height = 22
    4444      Top = 2
    45       Width = 75
     45      Width = 100
    4646      Action = APageSetup
    4747      TabOrder = 2
    4848    end
    4949    object Button4: TButton
    50       Left = 151
     50      Left = 176
    5151      Height = 22
    5252      Top = 2
    53       Width = 75
     53      Width = 99
    5454      Action = APrinterSetup
    5555      TabOrder = 3
    5656    end
    5757    object ToolButton1: TToolButton
    58       Left = 280
    59       Top = 2
    60       Width = 8
     58      Left = 331
     59      Top = 2
     60      Width = 10
    6161      Caption = 'ToolButton1'
    6262      Style = tbsSeparator
    6363    end
    6464    object ToolButton2: TToolButton
    65       Left = 288
     65      Left = 341
    6666      Top = 2
    6767      Action = AFirstPage
    6868    end
    6969    object ToolButton3: TToolButton
    70       Left = 311
     70      Left = 364
    7171      Top = 2
    7272      Action = APreviousPage
    7373    end
    7474    object EditPageNumber: TEdit
    75       Left = 334
     75      Left = 387
    7676      Height = 21
    7777      Top = 2
     
    8181    end
    8282    object ToolButton4: TToolButton
    83       Left = 373
     83      Left = 426
    8484      Top = 2
    8585      Action = ANextPage
    8686    end
    8787    object ToolButton5: TToolButton
    88       Left = 396
     88      Left = 449
    8989      Top = 2
    9090      Action = ALastPage
    9191    end
    9292    object ToolButton6: TToolButton
    93       Left = 419
    94       Top = 2
    95       Width = 8
     93      Left = 472
     94      Top = 2
     95      Width = 10
    9696      Caption = 'ToolButton6'
    9797      Style = tbsSeparator
    9898    end
    9999    object ToolButton7: TToolButton
    100       Left = 234
     100      Left = 285
    101101      Top = 2
    102102      Action = AZoomIn
    103103    end
    104104    object ToolButton8: TToolButton
    105       Left = 257
     105      Left = 308
    106106      Top = 2
    107107      Action = AZoomOut
    108108    end
    109109    object ToolButton9: TToolButton
    110       Left = 226
    111       Top = 2
    112       Width = 8
     110      Left = 275
     111      Top = 2
     112      Width = 10
    113113      Caption = 'ToolButton9'
    114114      Style = tbsSeparator
  • PrintPreview/UPrintPreview.lrs

    r247 r266  
    66  +'Height'#3#203#1#11'ClientWidth'#3#152#2#8'OnCreate'#7#10'FormCreate'#9'OnDe'
    77  +'stroy'#7#11'FormDestroy'#8'OnResize'#7#10'FormResize'#6'OnShow'#7#8'FormSho'
    8   +'w'#10'LCLVersion'#6#6'0.9.30'#11'WindowState'#7#11'wsMaximized'#0#8'TToolBa'
     8  +'w'#10'LCLVersion'#6#6'0.9.31'#11'WindowState'#7#11'wsMaximized'#0#8'TToolBa'
    99  +'r'#8'ToolBar1'#4'Left'#2#0#6'Height'#2#26#3'Top'#2#0#5'Width'#3#152#2#7'Cap'
    1010  +'tion'#6#8'ToolBar1'#6'Images'#7#10'ImageList1'#14'ParentShowHint'#8#8'ShowH'
    11   +'int'#9#8'TabOrder'#2#0#0#7'TButton'#7'Button1'#4'Left'#3#171#1#6'Height'#2
    12   +#22#3'Top'#2#2#5'Width'#2'3'#6'Action'#7#6'AClose'#8'TabOrder'#2#0#0#0#7'TBu'
     11  +'int'#9#8'TabOrder'#2#0#0#7'TButton'#7'Button1'#4'Left'#3#226#1#6'Height'#2
     12  +#22#3'Top'#2#2#5'Width'#2'>'#6'Action'#7#6'AClose'#8'TabOrder'#2#0#0#0#7'TBu'
    1313  +'tton'#7'Button2'#4'Left'#2#1#6'Height'#2#22#3'Top'#2#2#5'Width'#2'K'#6'Acti'
    1414  +'on'#7#6'APrint'#8'TabOrder'#2#1#0#0#7'TButton'#7'Button3'#4'Left'#2'L'#6'He'
    15   +'ight'#2#22#3'Top'#2#2#5'Width'#2'K'#6'Action'#7#10'APageSetup'#8'TabOrder'#2
    16   +#2#0#0#7'TButton'#7'Button4'#4'Left'#3#151#0#6'Height'#2#22#3'Top'#2#2#5'Wid'
    17   +'th'#2'K'#6'Action'#7#13'APrinterSetup'#8'TabOrder'#2#3#0#0#11'TToolButton'
    18   +#11'ToolButton1'#4'Left'#3#24#1#3'Top'#2#2#5'Width'#2#8#7'Caption'#6#11'Tool'
    19   +'Button1'#5'Style'#7#12'tbsSeparator'#0#0#11'TToolButton'#11'ToolButton2'#4
    20   +'Left'#3' '#1#3'Top'#2#2#6'Action'#7#10'AFirstPage'#0#0#11'TToolButton'#11'T'
    21   +'oolButton3'#4'Left'#3'7'#1#3'Top'#2#2#6'Action'#7#13'APreviousPage'#0#0#5'T'
    22   +'Edit'#14'EditPageNumber'#4'Left'#3'N'#1#6'Height'#2#21#3'Top'#2#2#5'Width'#2
    23   +''''#8'OnChange'#7#20'EditPageNumberChange'#8'TabOrder'#2#4#0#0#11'TToolButt'
    24   +'on'#11'ToolButton4'#4'Left'#3'u'#1#3'Top'#2#2#6'Action'#7#9'ANextPage'#0#0
    25   +#11'TToolButton'#11'ToolButton5'#4'Left'#3#140#1#3'Top'#2#2#6'Action'#7#9'AL'
    26   +'astPage'#0#0#11'TToolButton'#11'ToolButton6'#4'Left'#3#163#1#3'Top'#2#2#5'W'
    27   +'idth'#2#8#7'Caption'#6#11'ToolButton6'#5'Style'#7#12'tbsSeparator'#0#0#11'T'
    28   +'ToolButton'#11'ToolButton7'#4'Left'#3#234#0#3'Top'#2#2#6'Action'#7#7'AZoomI'
    29   +'n'#0#0#11'TToolButton'#11'ToolButton8'#4'Left'#3#1#1#3'Top'#2#2#6'Action'#7
    30   +#8'AZoomOut'#0#0#11'TToolButton'#11'ToolButton9'#4'Left'#3#226#0#3'Top'#2#2#5
    31   +'Width'#2#8#7'Caption'#6#11'ToolButton9'#5'Style'#7#12'tbsSeparator'#0#0#0#6
     15  +'ight'#2#22#3'Top'#2#2#5'Width'#2'd'#6'Action'#7#10'APageSetup'#8'TabOrder'#2
     16  +#2#0#0#7'TButton'#7'Button4'#4'Left'#3#176#0#6'Height'#2#22#3'Top'#2#2#5'Wid'
     17  +'th'#2'c'#6'Action'#7#13'APrinterSetup'#8'TabOrder'#2#3#0#0#11'TToolButton'
     18  +#11'ToolButton1'#4'Left'#3'K'#1#3'Top'#2#2#5'Width'#2#10#7'Caption'#6#11'Too'
     19  +'lButton1'#5'Style'#7#12'tbsSeparator'#0#0#11'TToolButton'#11'ToolButton2'#4
     20  +'Left'#3'U'#1#3'Top'#2#2#6'Action'#7#10'AFirstPage'#0#0#11'TToolButton'#11'T'
     21  +'oolButton3'#4'Left'#3'l'#1#3'Top'#2#2#6'Action'#7#13'APreviousPage'#0#0#5'T'
     22  +'Edit'#14'EditPageNumber'#4'Left'#3#131#1#6'Height'#2#21#3'Top'#2#2#5'Width'
     23  +#2''''#8'OnChange'#7#20'EditPageNumberChange'#8'TabOrder'#2#4#0#0#11'TToolBu'
     24  +'tton'#11'ToolButton4'#4'Left'#3#170#1#3'Top'#2#2#6'Action'#7#9'ANextPage'#0
     25  +#0#11'TToolButton'#11'ToolButton5'#4'Left'#3#193#1#3'Top'#2#2#6'Action'#7#9
     26  +'ALastPage'#0#0#11'TToolButton'#11'ToolButton6'#4'Left'#3#216#1#3'Top'#2#2#5
     27  +'Width'#2#10#7'Caption'#6#11'ToolButton6'#5'Style'#7#12'tbsSeparator'#0#0#11
     28  +'TToolButton'#11'ToolButton7'#4'Left'#3#29#1#3'Top'#2#2#6'Action'#7#7'AZoomI'
     29  +'n'#0#0#11'TToolButton'#11'ToolButton8'#4'Left'#3'4'#1#3'Top'#2#2#6'Action'#7
     30  +#8'AZoomOut'#0#0#11'TToolButton'#11'ToolButton9'#4'Left'#3#19#1#3'Top'#2#2#5
     31  +'Width'#2#10#7'Caption'#6#11'ToolButton9'#5'Style'#7#12'tbsSeparator'#0#0#0#6
    3232  +'TImage'#6'Image1'#4'Left'#2#0#6'Height'#3#157#1#3'Top'#2#26#5'Width'#3#133#2
    3333  +#5'Align'#7#8'alCustom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBott'
  • PrintPreview/UPrintPreview.lrt

    r241 r266  
    1 TPRINTPREVIEWFORM.PRINTPREVIEWFORM.CAPTION=Print preview
     1TPRINTPREVIEWFORM.CAPTION=Print preview
    22TPRINTPREVIEWFORM.TOOLBAR1.CAPTION=ToolBar1
    33TPRINTPREVIEWFORM.TOOLBUTTON1.CAPTION=ToolButton1
  • 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;
  • PrintPreview/languages

    • Property svn:ignore set to
      *.mo
Note: See TracChangeset for help on using the changeset viewer.