unit1.~dfm

来自「《Delphi实用程序100例》配套书源码盘」· ~DFM 代码 · 共 99 行

~DFM
99
字号
object Form1: TForm1
  Left = 190
  Top = 113
  Width = 521
  Height = 404
  BorderStyle = bsSizeToolWin
  Caption = '字幕滚动范例'
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -14
  Font.Name = '宋体'
  Font.Style = []
  OldCreateOrder = False
  Position = poDefault
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 14
  object Label1: TLabel
    Left = 16
    Top = 8
    Width = 56
    Height = 14
    Caption = '文件位置'
  end
  object Label2: TLabel
    Left = 16
    Top = 40
    Width = 56
    Height = 14
    Caption = '速度控制'
  end
  object Edit1: TEdit
    Left = 83
    Top = 2
    Width = 286
    Height = 21
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = '宋体'
    Font.Style = []
    ImeName = '中文 (简体) - 智能 ABC'
    ParentFont = False
    TabOrder = 0
    Text = 'TextFile.txt'
  end
  object Button3: TButton
    Left = 384
    Top = 32
    Width = 105
    Height = 25
    Caption = '重新开始'
    TabOrder = 1
    OnClick = Button3Click
  end
  object Button2: TButton
    Left = 384
    Top = 0
    Width = 105
    Height = 25
    Caption = '开始/暂停'
    TabOrder = 2
    OnClick = Button2Click
  end
  object TrackBar1: TTrackBar
    Left = 80
    Top = 32
    Width = 129
    Height = 25
    Max = 20
    Min = 1
    Orientation = trHorizontal
    Frequency = 1
    Position = 1
    SelEnd = 0
    SelStart = 0
    TabOrder = 3
    TickMarks = tmBottomRight
    TickStyle = tsAuto
    OnChange = TrackBar1Change
  end
  object Panel1: TPanel
    Left = 0
    Top = 64
    Width = 513
    Height = 313
    Caption = '屏幕'
    TabOrder = 4
  end
  object Timer1: TTimer
    Interval = 50
    OnTimer = Timer1Timer
    Left = 288
    Top = 32
  end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?