main.dfm

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

DFM
55
字号
object Form1: TForm1
  Left = 337
  Top = 178
  Width = 389
  Height = 423
  Caption = 'Example-PictureDialog'
  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 Image1: TImage
    Left = 0
    Top = 64
    Width = 377
    Height = 329
    AutoSize = True
  end
  object Button1: TButton
    Left = 96
    Top = 16
    Width = 57
    Height = 41
    Caption = 'Open Pic'
    TabOrder = 0
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 192
    Top = 16
    Width = 57
    Height = 41
    Caption = 'Save Pic'
    TabOrder = 1
    OnClick = Button2Click
  end
  object OpenPictureDialog1: TOpenPictureDialog
    Filter = 
      'All (*.jpg;*.jpeg;*.bmp;*.ico;*.emf;*.wmf)|*.jpg;*.jpeg;*.bmp;*.' +
      'ico;*.emf;*.wmf|JPEG Image File (*.jpg)|*.jpg|JPEG Image File (*' +
      '.jpeg)|*.jpeg|Bitmaps (*.bmp)|*.bmp|Icons (*.ico)|*.ico|Enhanced' +
      ' Metafiles (*.emf)|*.emf|Metafiles (*.wmf)|*.wmf|'#25152#26377#27284#26696'|*.*'
    Left = 48
    Top = 40
  end
  object SavePictureDialog1: TSavePictureDialog
    Left = 320
    Top = 24
  end
end

⌨️ 快捷键说明

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