rebook.dfm

来自「这是《Delphi程序设计基础》由李文池写的书的示例代码」· DFM 代码 · 共 75 行

DFM
75
字号
object frm_rebook: Tfrm_rebook
  Left = 226
  Top = 228
  Width = 704
  Height = 337
  Caption = #20652#36824#22270#20070#25253#34920
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 8
    Top = 8
    Width = 681
    Height = 249
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object Button1: TButton
    Left = 304
    Top = 264
    Width = 75
    Height = 25
    Caption = #25171#21360#25253#34920
    TabOrder = 1
    OnClick = Button1Click
  end
  object RvDataSetConnection1: TRvDataSetConnection
    RuntimeVisibility = rtDeveloper
    DataSet = ADOQuery1
    Left = 88
    Top = 264
  end
  object RvProject1: TRvProject
    ProjectFile = 'D:\delphi\lwctemp\tsgl_admin\rebook.rav'
    Left = 120
    Top = 264
  end
  object ADOQuery1: TADOQuery
    Active = True
    Connection = frmAdmin.ADOCon
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      
        'select records.NO,records.libcard_id,records.reader_name,records' +
        '.book_id,records.book_name,readers.dept,readers.phone,records.bo' +
        'rrow_date,records.status'
      'from records,readers'
      
        'where  records.libcard_id=readers.libcard_id and (( records.stat' +
        'us='#39#20511#20070#39' and getdate()-records.borrow_date>30) or '
      '( records.status='#39#32493#20511#39'  and getdate()-records.borrow_date>60))')
    Left = 24
    Top = 264
  end
  object DataSource1: TDataSource
    DataSet = ADOQuery1
    Left = 56
    Top = 264
  end
end

⌨️ 快捷键说明

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