unit1.dfm

来自「用C++ Builder编写得菜单工具栏得程序」· DFM 代码 · 共 79 行

DFM
79
字号
object Form1: TForm1
  Left = 355
  Top = 220
  Width = 308
  Height = 185
  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 ControlBar1: TControlBar
    Left = 0
    Top = 0
    Width = 300
    Height = 30
    Align = alTop
    AutoSize = True
    TabOrder = 0
    object ToolBar1: TToolBar
      Left = 11
      Top = 2
      Width = 86
      Height = 22
      ButtonHeight = 21
      ButtonWidth = 31
      Caption = 'ToolBar1'
      DragKind = dkDock
      DragMode = dmAutomatic
      EdgeBorders = []
      Flat = True
      ShowCaptions = True
      TabOrder = 0
      object ToolButton1: TToolButton
        Left = 0
        Top = 0
        AutoSize = True
        Caption = '文件'
        Grouped = True
        MenuItem = ItemFile
      end
      object ToolButton2: TToolButton
        Left = 35
        Top = 0
        AutoSize = True
        Caption = '帮助'
        Grouped = True
        MenuItem = ItemHelp
      end
    end
  end
  object MainMenu1: TMainMenu
    Left = 112
    Top = 72
    object ItemFile: TMenuItem
      Caption = '文件'
      object ItemOpen: TMenuItem
        Caption = '打开'
      end
      object ItemExit: TMenuItem
        Caption = '退出'
      end
    end
    object ItemHelp: TMenuItem
      Caption = '帮助'
      object ItemHelp1: TMenuItem
        Caption = '帮助'
      end
      object ItemAbout: TMenuItem
        Caption = '关于'
      end
    end
  end
end

⌨️ 快捷键说明

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