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

📄 unit1.dfm

📁 一系列DELPHI的控件如何使用的例子,例子有的比较简单,但是能详细的说明了控件的使用,对许多刚涉足DELPHI的朋友会很有帮助的
💻 DFM
字号:
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 696
  Height = 480
  Caption = #20351#29992'QUERY'#30340#20027#20174#34920#26597#35810
  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 Panel1: TPanel
    Left = 0
    Top = 0
    Width = 688
    Height = 41
    Align = alTop
    Caption = #21333#20987#20027#34920#26597#35810#20174#34920
    TabOrder = 0
  end
  object Panel2: TPanel
    Left = 0
    Top = 41
    Width = 688
    Height = 216
    TabOrder = 1
    object DBGrid1: TDBGrid
      Left = 1
      Top = 1
      Width = 686
      Height = 214
      Align = alClient
      DataSource = DataSource1
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899' IME 3.0'
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      OnDblClick = DBGrid1DblClick
      Columns = <
        item
          Expanded = False
          FieldName = 'CustNo'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Company'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Addr1'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Addr2'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'City'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'State'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Zip'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Country'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Phone'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FAX'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TaxRate'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Contact'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'LastInvoiceDate'
          Visible = True
        end>
    end
  end
  object Panel3: TPanel
    Left = 0
    Top = 257
    Width = 688
    Height = 212
    Align = alBottom
    Caption = 'Panel3'
    TabOrder = 2
    object DBGrid2: TDBGrid
      Left = 1
      Top = 1
      Width = 686
      Height = 210
      Align = alClient
      DataSource = DataSource2
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899' IME 3.0'
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
    end
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'DBDEMOS'
    SQL.Strings = (
      'select * from customer')
    Left = 472
    Top = 8
  end
  object Query2: TQuery
    DatabaseName = 'DBDEMOS'
    Left = 504
    Top = 8
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 536
    Top = 8
  end
  object DataSource2: TDataSource
    DataSet = Query2
    Left = 568
    Top = 8
  end
end

⌨️ 快捷键说明

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