main.dfm

来自「C++ builder 完全攻略 学习C++ Builder 不可缺少」· DFM 代码 · 共 103 行

DFM
103
字号
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 339
  Height = 211
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Button1: TButton
    Left = 40
    Top = 40
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 0
  end
  object Button2: TButton
    Left = 40
    Top = 80
    Width = 75
    Height = 25
    Caption = 'Caption'#35373#23450
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlack
    Font.Height = -13
    Font.Name = #26032#32048#26126#39636
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 1
    TabStop = False
  end
  object Button3: TButton
    Left = 40
    Top = 120
    Width = 75
    Height = 25
    Caption = '&Close'
    TabOrder = 2
  end
  object Button4: TButton
    Left = 128
    Top = 40
    Width = 75
    Height = 25
    Cursor = crHandPoint
    Caption = 'Button4'
    TabOrder = 3
    TabStop = False
  end
  object Button5: TButton
    Left = 128
    Top = 80
    Width = 75
    Height = 25
    Caption = 'Button5'
    Enabled = False
    TabOrder = 4
  end
  object Button6: TButton
    Left = 128
    Top = 120
    Width = 75
    Height = 25
    Caption = 'Button6'
    TabOrder = 5
    Visible = False
  end
  object Button7: TButton
    Left = 216
    Top = 40
    Width = 75
    Height = 25
    Hint = #39023#31034'Hint'
    Caption = 'Button7'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 6
  end
  object OKBtn: TButton
    Left = 216
    Top = 80
    Width = 75
    Height = 25
    Caption = 'OK'
    TabOrder = 7
  end
  object Button9: TButton
    Left = 216
    Top = 120
    Width = 75
    Height = 25
    Caption = 'Button9'
    TabOrder = 8
  end
end

⌨️ 快捷键说明

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