home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / zkuste / delphi / kompon / d3456 / PREVIEW.ZIP / Demo / Main.dfm / Main.txt < prev   
Text File  |  2002-05-11  |  5KB  |  206 lines

  1. object MainForm: TMainForm
  2.   Left = 248
  3.   Top = 72
  4.   AutoScroll = False
  5.   Caption = 'TPrintPreview'
  6.   ClientHeight = 587
  7.   ClientWidth = 674
  8.   Color = clBtnFace
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'MS Sans Serif'
  13.   Font.Style = []
  14.   OldCreateOrder = True
  15.   Position = poDefault
  16.   OnActivate = FormActivate
  17.   OnCreate = FormCreate
  18.   PixelsPerInch = 96
  19.   TextHeight = 13
  20.   object Image1: TImage
  21.     Left = 8
  22.     Top = 40
  23.     Width = 337
  24.     Height = 214
  25.     AutoSize = True
  26.     Picture.Data = {<image000.bmp>}
  27.   end
  28.   object Image2: TImage
  29.     Left = 248
  30.     Top = 32
  31.     Width = 340
  32.     Height = 513
  33.     AutoSize = True
  34.     Picture.Data = {<image001.jpg>}
  35.   end
  36.   object Toolbar: TPanel
  37.     Left = 0
  38.     Top = 0
  39.     Width = 674
  40.     Height = 29
  41.     Align = alTop
  42.     BevelOuter = bvNone
  43.     TabOrder = 0
  44.     object Label1: TLabel
  45.       Left = 8
  46.       Top = 8
  47.       Width = 30
  48.       Height = 13
  49.       Caption = 'Zoom:'
  50.     end
  51.     object Label2: TLabel
  52.       Left = 144
  53.       Top = 8
  54.       Width = 22
  55.       Height = 13
  56.       Caption = 'Unit:'
  57.     end
  58.     object ZoomComboBox: TComboBox
  59.       Left = 41
  60.       Top = 4
  61.       Width = 97
  62.       Height = 21
  63.       Style = csDropDownList
  64.       ItemHeight = 13
  65.       TabOrder = 0
  66.       OnChange = ZoomComboBoxChange
  67.       Items.Strings = (
  68.         '%50'
  69.         '%100'
  70.         '%150'
  71.         '%200'
  72.         'Page Width'
  73.         'Page Height'
  74.         'Whole Page')
  75.     end
  76.     object PrintButton: TButton
  77.       Left = 405
  78.       Top = 2
  79.       Width = 59
  80.       Height = 25
  81.       Caption = 'Print...'
  82.       Enabled = False
  83.       TabOrder = 4
  84.       OnClick = PrintButtonClick
  85.     end
  86.     object UnitComboBox: TComboBox
  87.       Left = 170
  88.       Top = 4
  89.       Width = 74
  90.       Height = 21
  91.       Style = csDropDownList
  92.       ItemHeight = 13
  93.       TabOrder = 1
  94.       OnChange = UnitComboBoxChange
  95.       Items.Strings = (
  96.         'Pixels'
  97.         '1/10 mm'
  98.         '1/100 mm'
  99.         '1/10"'
  100.         '1/100"'
  101.         'TWIPS')
  102.     end
  103.     object FastPrintCheckBox: TCheckBox
  104.       Left = 333
  105.       Top = 7
  106.       Width = 66
  107.       Height = 17
  108.       Hint = 'Unmark the checkbox for better quality of images on print.'
  109.       Caption = 'Fast Print'
  110.       Checked = True
  111.       ParentShowHint = False
  112.       ShowHint = True
  113.       State = cbChecked
  114.       TabOrder = 3
  115.       OnClick = FastPrintCheckBoxClick
  116.     end
  117.     object AutoScrollCheckBox: TCheckBox
  118.       Left = 252
  119.       Top = 8
  120.       Width = 76
  121.       Height = 17
  122.       Caption = 'Auto Scroll'
  123.       Checked = True
  124.       State = cbChecked
  125.       TabOrder = 2
  126.       OnClick = AutoScrollCheckBoxClick
  127.     end
  128.     object SaveButton: TButton
  129.       Left = 470
  130.       Top = 2
  131.       Width = 97
  132.       Height = 25
  133.       Caption = 'Save To File...'
  134.       Enabled = False
  135.       TabOrder = 5
  136.       OnClick = SaveButtonClick
  137.     end
  138.     object LoadButton: TButton
  139.       Left = 568
  140.       Top = 2
  141.       Width = 97
  142.       Height = 25
  143.       Caption = 'Load From File...'
  144.       TabOrder = 6
  145.       OnClick = LoadButtonClick
  146.     end
  147.   end
  148.   object PrintPreview: TPrintPreview
  149.     Left = 0
  150.     Top = 29
  151.     Width = 674
  152.     Height = 529
  153.     HorzScrollBar.Margin = 10
  154.     HorzScrollBar.Tracking = True
  155.     VertScrollBar.Margin = 10
  156.     VertScrollBar.Tracking = True
  157.     Font.Charset = DEFAULT_CHARSET
  158.     Font.Color = clWindowText
  159.     Font.Height = -260
  160.     Font.Name = 'Arial'
  161.     Font.Style = []
  162.     ParentFont = False
  163.     TabOrder = 1
  164.     PrintJobTitle = 'TPrintPreview Sample Print'
  165.     PaperView.BorderColor = clNavy
  166.     PaperView.BorderWidth = 2
  167.     PaperView.ShadowWidth = 4
  168.     OnBeginDoc = PrintPreviewBeginDoc
  169.     OnEndDoc = PrintPreviewEndDoc
  170.     OnNewPage = PrintPreviewNewPage
  171.     OnChange = PrintPreviewChange
  172.     OnPrintProgress = PrintPreviewPrintProgress
  173.     OnBeforePrint = PrintPreviewBeforePrint
  174.     OnAfterPrint = PrintPreviewAfterPrint
  175.   end
  176.   object PageNavigator: TTabSet
  177.     Left = 0
  178.     Top = 558
  179.     Width = 674
  180.     Height = 29
  181.     Align = alBottom
  182.     Font.Charset = DEFAULT_CHARSET
  183.     Font.Color = clWindowText
  184.     Font.Height = -19
  185.     Font.Name = 'Arial'
  186.     Font.Style = [fsBold]
  187.     OnChange = PageNavigatorChange
  188.   end
  189.   object PrinterSetupDialog: TPrinterSetupDialog
  190.     Left = 8
  191.     Top = 40
  192.   end
  193.   object OpenDialog: TOpenDialog
  194.     DefaultExt = 'ppv'
  195.     Filter = 'Print Preview Files (*.ppv)|*.ppv|All Files (*.*)|*.*'
  196.     Left = 38
  197.     Top = 40
  198.   end
  199.   object SaveDialog: TSaveDialog
  200.     DefaultExt = 'ppv'
  201.     Filter = 'Print Preview Files (*.ppv)|*.ppv|All Files (*.*)|*.*'
  202.     Left = 68
  203.     Top = 40
  204.   end
  205. end
  206.