unit1.~dfm

来自「这个是一个实例」· ~DFM 代码 · 共 85 行

~DFM
85
字号
object Form1: TForm1
  Left = 314
  Top = 144
  Width = 318
  Height = 151
  Caption = '身份验证'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -16
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 20
  object Label1: TLabel
    Left = 48
    Top = 16
    Width = 48
    Height = 20
    Caption = '学号:'
  end
  object Label2: TLabel
    Left = 48
    Top = 50
    Width = 48
    Height = 20
    Caption = '密码:'
  end
  object Edit1: TEdit
    Left = 120
    Top = 11
    Width = 137
    Height = 24
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    MaxLength = 6
    ParentFont = False
    TabOrder = 0
    Text = 'Edit1'
    OnChange = Edit1Change
    OnKeyPress = Edit1KeyPress
  end
  object Edit2: TEdit
    Left = 120
    Top = 45
    Width = 137
    Height = 24
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    MaxLength = 6
    ParentFont = False
    PasswordChar = '*'
    TabOrder = 1
    Text = 'Edit2'
    OnChange = Edit2Change
  end
  object BitBtn1: TBitBtn
    Left = 48
    Top = 88
    Width = 75
    Height = 25
    Enabled = False
    TabOrder = 2
    OnClick = BitBtn1Click
    Kind = bkOK
  end
  object BitBtn2: TBitBtn
    Left = 168
    Top = 88
    Width = 75
    Height = 25
    TabOrder = 3
    OnClick = BitBtn2Click
    Kind = bkCancel
  end
end

⌨️ 快捷键说明

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