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

📄 formstudent.dfm

📁 Delphi数据库编程
💻 DFM
字号:
object frmStudent: TfrmStudent
  Left = 376
  Top = 125
  Width = 540
  Height = 450
  Caption = #23398#29983#31649#29702
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poOwnerFormCenter
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 80
    Top = 8
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #23398#21495
  end
  object Label2: TLabel
    Left = 80
    Top = 32
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #22995#21517
  end
  object Label3: TLabel
    Left = 312
    Top = 72
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #31821#36143
  end
  object Label5: TLabel
    Left = 312
    Top = 40
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #20986#29983#26085#26399
  end
  object Label6: TLabel
    Left = 312
    Top = 8
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #25152#23646#29677#32423
  end
  object Label4: TLabel
    Left = 80
    Top = 64
    Width = 78
    Height = 13
    Alignment = taRightJustify
    AutoSize = False
    Caption = #24615#21035
  end
  object dbgStudent: TDBGrid
    Left = 8
    Top = 136
    Width = 521
    Height = 281
    DataSource = dsStudent
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 8
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'StudentID'
        Title.Alignment = taCenter
        Title.Caption = #23398#21495
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Name'
        Title.Alignment = taCenter
        Title.Caption = #22995#21517
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Sex'
        Title.Alignment = taCenter
        Title.Caption = #24615#21035
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ClassID'
        Title.Alignment = taRightJustify
        Title.Caption = #25152#23646#29677#32423
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Birthday'
        Title.Alignment = taCenter
        Title.Caption = #20986#29983#26085#26399
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Native'
        Title.Alignment = taCenter
        Title.Caption = #31821#36143
        Visible = True
      end>
  end
  object btnQuit: TButton
    Left = 456
    Top = 104
    Width = 75
    Height = 25
    Caption = #36864#20986'(&Q)'
    TabOrder = 7
    OnClick = btnQuitClick
  end
  object dbeStudentID: TDBEdit
    Left = 160
    Top = 8
    Width = 137
    Height = 21
    DataField = 'StudentID'
    DataSource = dsStudent
    TabOrder = 0
  end
  object dbeName: TDBEdit
    Left = 160
    Top = 32
    Width = 137
    Height = 21
    DataField = 'Name'
    DataSource = dsStudent
    TabOrder = 1
  end
  object dbeNative: TDBEdit
    Left = 392
    Top = 72
    Width = 137
    Height = 21
    DataField = 'Native'
    DataSource = dsStudent
    TabOrder = 5
  end
  object dbnStudent: TDBNavigator
    Left = 8
    Top = 104
    Width = 310
    Height = 25
    DataSource = dsStudent
    ParentShowHint = False
    ConfirmDelete = False
    ShowHint = True
    TabOrder = 6
    OnClick = dbnStudentClick
  end
  object dblcbClassID: TDBLookupComboBox
    Left = 392
    Top = 8
    Width = 137
    Height = 21
    DataField = 'ClassID'
    DataSource = dsStudent
    KeyField = 'ClassID'
    ListField = 'ClassName'
    ListSource = dsClass
    TabOrder = 3
  end
  object dbeBirthday: TDBEdit
    Left = 392
    Top = 40
    Width = 137
    Height = 21
    DataField = 'Birthday'
    DataSource = dsStudent
    TabOrder = 4
  end
  object dbrgSex: TDBRadioGroup
    Left = 160
    Top = 56
    Width = 137
    Height = 33
    Columns = 2
    DataField = 'Sex'
    DataSource = dsStudent
    Items.Strings = (
      #30007
      #22899)
    TabOrder = 2
  end
  object dsStudent: TDataSource
    DataSet = tblStudent
    Left = 56
    Top = 256
  end
  object tblStudent: TTable
    BeforePost = tblStudentBeforePost
    BeforeDelete = tblStudentBeforeDelete
    AfterScroll = tblStudentAfterScroll
    AutoRefresh = True
    DatabaseName = 'StudentDB'
    TableName = 'Student'
    Left = 24
    Top = 256
  end
  object tblValid: TTable
    DatabaseName = 'StudentDB'
    Left = 88
    Top = 256
  end
  object tblClass: TTable
    AutoRefresh = True
    DatabaseName = 'StudentDB'
    TableName = 'Class'
    Left = 24
    Top = 296
  end
  object dsClass: TDataSource
    DataSet = tblClass
    Left = 56
    Top = 296
  end
end

⌨️ 快捷键说明

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