home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / delphi / kompon / d345 / PPREV.ZIP / BenPreview / Demo / TestPrev.dfm / TestPrev.txt < prev   
Encoding:
Text File  |  2001-09-29  |  5.5 KB  |  229 lines

  1. object Form1: TForm1
  2.   Left = 335
  3.   Top = 121
  4.   Width = 573
  5.   Height = 482
  6.   Caption = 'Test Print Preview'
  7.   Color = clBtnFace
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   Icon.Data = {<image000.ico>}
  14.   OldCreateOrder = True
  15.   Position = poScreenCenter
  16.   OnCreate = FormCreate
  17.   OnDestroy = FormDestroy
  18.   PixelsPerInch = 96
  19.   TextHeight = 13
  20.   object Panel2: TPanel
  21.     Left = 0
  22.     Top = 0
  23.     Width = 565
  24.     Height = 81
  25.     Align = alTop
  26.     BevelInner = bvRaised
  27.     BevelOuter = bvLowered
  28.     TabOrder = 0
  29.     object Label1: TLabel
  30.       Left = 120
  31.       Top = 29
  32.       Width = 54
  33.       Height = 13
  34.       Caption = 'Initial Zoom'
  35.     end
  36.     object Label2: TLabel
  37.       Left = 16
  38.       Top = 8
  39.       Width = 141
  40.       Height = 13
  41.       Caption = 'General Print Preview Options'
  42.       Font.Charset = DEFAULT_CHARSET
  43.       Font.Color = clWindowText
  44.       Font.Height = -11
  45.       Font.Name = 'MS Sans Serif'
  46.       Font.Style = [fsUnderline]
  47.       ParentFont = False
  48.     end
  49.     object ShowGridBox: TCheckBox
  50.       Left = 16
  51.       Top = 32
  52.       Width = 97
  53.       Height = 17
  54.       Caption = 'Show &Grid'
  55.       TabOrder = 0
  56.     end
  57.     object ZoomBox: TComboBox
  58.       Left = 120
  59.       Top = 45
  60.       Width = 145
  61.       Height = 21
  62.       Style = csDropDownList
  63.       ItemHeight = 13
  64.       TabOrder = 1
  65.       Items.Strings = (
  66.         'Fit To Page'
  67.         'Fit To Width'
  68.         'Two Pages')
  69.     end
  70.     object PageSetupBut: TButton
  71.       Left = 296
  72.       Top = 24
  73.       Width = 75
  74.       Height = 25
  75.       Caption = 'Pa&ge Setup'
  76.       TabOrder = 2
  77.       OnClick = PageSetupButClick
  78.     end
  79.   end
  80.   object PageControl1: TPageControl
  81.     Left = 0
  82.     Top = 81
  83.     Width = 565
  84.     Height = 355
  85.     ActivePage = TabSheet1
  86.     Align = alClient
  87.     TabOrder = 1
  88.     object TabSheet1: TTabSheet
  89.       Caption = 'String List'
  90.       object Panel1: TPanel
  91.         Left = 0
  92.         Top = 0
  93.         Width = 557
  94.         Height = 41
  95.         Align = alTop
  96.         BevelOuter = bvLowered
  97.         TabOrder = 0
  98.         object TestBut: TButton
  99.           Left = 16
  100.           Top = 8
  101.           Width = 75
  102.           Height = 25
  103.           Caption = 'Pre&view'
  104.           TabOrder = 0
  105.           OnClick = TestButClick
  106.         end
  107.         object FontBut: TButton
  108.           Left = 112
  109.           Top = 8
  110.           Width = 75
  111.           Height = 25
  112.           Caption = '&Font...'
  113.           TabOrder = 1
  114.           OnClick = FontButClick
  115.         end
  116.         object LoadBut: TButton
  117.           Left = 208
  118.           Top = 8
  119.           Width = 75
  120.           Height = 25
  121.           Caption = '&Load...'
  122.           TabOrder = 2
  123.           OnClick = LoadButClick
  124.         end
  125.         object OwnerDrawBox: TCheckBox
  126.           Left = 304
  127.           Top = 12
  128.           Width = 97
  129.           Height = 17
  130.           Caption = '&Owner Draw'
  131.           TabOrder = 3
  132.         end
  133.         object Button1: TButton
  134.           Left = 472
  135.           Top = 8
  136.           Width = 75
  137.           Height = 25
  138.           Caption = '&Draw'
  139.           TabOrder = 4
  140.           OnClick = Button1Click
  141.         end
  142.       end
  143.       object RichEdit1: TRichEdit
  144.         Left = 0
  145.         Top = 41
  146.         Width = 557
  147.         Height = 286
  148.         Align = alClient
  149.         Font.Charset = ANSI_CHARSET
  150.         Font.Color = clWindowText
  151.         Font.Height = -13
  152.         Font.Name = 'Courier New'
  153.         Font.Style = []
  154.         Lines.Strings = (
  155.           'Load any RTF or ASCII file into here.')
  156.         ParentFont = False
  157.         TabOrder = 1
  158.       end
  159.     end
  160.   end
  161.   object StatusBar1: TStatusBar
  162.     Left = 0
  163.     Top = 436
  164.     Width = 565
  165.     Height = 19
  166.     Panels = <
  167.       item
  168.         Width = 50
  169.       end>
  170.     SimplePanel = False
  171.   end
  172.   object FontDialog1: TFontDialog
  173.     Font.Charset = ANSI_CHARSET
  174.     Font.Color = clWindowText
  175.     Font.Height = -13
  176.     Font.Name = 'Courier New'
  177.     Font.Style = []
  178.     MinFontSize = 0
  179.     MaxFontSize = 0
  180.     Left = 56
  181.     Top = 224
  182.   end
  183.   object OpenDialog1: TOpenDialog
  184.     Filter = 
  185.       'RTF Files (*.rtf)|*.rtf|Text Files (*.txt)|*.txt|All Files (*.*)' +
  186.       '|*.*'
  187.     Left = 216
  188.     Top = 224
  189.   end
  190.   object PreviewPrinter1: TPreviewPrinter
  191.     Orientation = poPortrait
  192.     TextOptions.DrawStyle = dsStandard
  193.     TextOptions.BodyFont.Charset = DEFAULT_CHARSET
  194.     TextOptions.BodyFont.Color = clWindowText
  195.     TextOptions.BodyFont.Height = -13
  196.     TextOptions.BodyFont.Name = 'Arial'
  197.     TextOptions.BodyFont.Style = []
  198.     TextOptions.HeaderFont.Charset = DEFAULT_CHARSET
  199.     TextOptions.HeaderFont.Color = clWindowText
  200.     TextOptions.HeaderFont.Height = -24
  201.     TextOptions.HeaderFont.Name = 'Times New Roman'
  202.     TextOptions.HeaderFont.Style = [fsBold]
  203.     TextOptions.FooterFont.Charset = DEFAULT_CHARSET
  204.     TextOptions.FooterFont.Color = clWindowText
  205.     TextOptions.FooterFont.Height = -13
  206.     TextOptions.FooterFont.Name = 'Times New Roman'
  207.     TextOptions.FooterFont.Style = [fsItalic]
  208.     TextOptions.PageNumFont.Charset = DEFAULT_CHARSET
  209.     TextOptions.PageNumFont.Color = clWindowText
  210.     TextOptions.PageNumFont.Height = -13
  211.     TextOptions.PageNumFont.Name = 'Times New Roman'
  212.     TextOptions.PageNumFont.Style = [fsItalic]
  213.     TextOptions.HeaderMargin = 0.500000000000000000
  214.     TextOptions.FooterMargin = 0.750000000000000000
  215.     TextOptions.HeaderAlign = taCenter
  216.     TextOptions.FooterAlign = taCenter
  217.     TextOptions.PrintPageNumber = pnBottom
  218.     TextOptions.PageNumAlign = taRightJustify
  219.     TextOptions.PageNumText = 'Page %d'
  220.     Units = unInches
  221.     ShowGrid = False
  222.     ZoomOption = zoFitToPage
  223.     ZoomVal = 100
  224.     OnNewPage = PreviewPrinter1NewPage
  225.     Left = 280
  226.     Top = 189
  227.   end
  228. end
  229.