⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo2.dfm

📁 一系列DELPHI的控件如何使用的例子,例子有的比较简单,但是能详细的说明了控件的使用,对许多刚涉足DELPHI的朋友会很有帮助的
💻 DFM
字号:
object Form1: TForm1
  Left = 222
  Top = 129
  Width = 593
  Height = 391
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 0
    Top = 97
    Width = 585
    Height = 224
    DataSource = DataSource1
    ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'EmpNo'
        Title.Caption = #21592#24037#21495
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'LastName'
        Title.Caption = #22995#27663
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'FirstName'
        Title.Caption = #21517#23383
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'PhoneExt'
        Title.Caption = #20998#26426#21495
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'HireDate'
        Title.Caption = #24037#20316#26102#38388
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Salary'
        Title.Caption = #24180#34218
        Visible = True
      end>
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 585
    Height = 97
    Align = alTop
    TabOrder = 1
    object Label1: TLabel
      Left = 152
      Top = 25
      Width = 48
      Height = 13
      Caption = #36215#22987#26102#38388
    end
    object Label2: TLabel
      Left = 154
      Top = 56
      Width = 48
      Height = 13
      Caption = #32467#26463#26102#38388
    end
    object Label3: TLabel
      Left = 355
      Top = 24
      Width = 48
      Height = 13
      Caption = #24180#34218#39069'>='
    end
    object Label4: TLabel
      Left = 355
      Top = 51
      Width = 48
      Height = 13
      Caption = #24180#34218#39069'<='
    end
    object RadioGroup1: TRadioGroup
      Left = 59
      Top = 13
      Width = 89
      Height = 65
      Caption = #26597#35810#36873#25321
      Items.Strings = (
        #26102#38388#26597#35810
        #24037#36164#26597#35810)
      TabOrder = 0
    end
    object DateTimePicker1: TDateTimePicker
      Left = 211
      Top = 21
      Width = 129
      Height = 21
      Date = 32143.797886284700000000
      Time = 32143.797886284700000000
      DateFormat = dfLong
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 1
      OnChange = DateTimePicker1Change
    end
    object DateTimePicker2: TDateTimePicker
      Left = 211
      Top = 53
      Width = 129
      Height = 21
      Date = 34700.798157731500000000
      Time = 34700.798157731500000000
      DateFormat = dfLong
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 2
      OnChange = DateTimePicker1Change
    end
    object ComboBox1: TComboBox
      Left = 404
      Top = 22
      Width = 105
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      ItemHeight = 13
      TabOrder = 3
      OnChange = DateTimePicker1Change
      Items.Strings = (
        '2000'
        '5000'
        '8000'
        '10000'
        '20000'
        '30000'
        '40000'
        '50000'
        '60000')
    end
    object ComboBox2: TComboBox
      Left = 404
      Top = 49
      Width = 105
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      ItemHeight = 13
      TabOrder = 4
      OnChange = DateTimePicker1Change
      Items.Strings = (
        '2000'
        '5000'
        '8000'
        '10000'
        '20000'
        '30000'
        '40000'
        '50000'
        '60000')
    end
  end
  object Panel2: TPanel
    Left = 0
    Top = 323
    Width = 585
    Height = 41
    Align = alBottom
    TabOrder = 2
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'DBDEMOS'
    SQL.Strings = (
      'select * from employee')
    Left = 40
    Top = 216
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 72
    Top = 216
  end
end

⌨️ 快捷键说明

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