unitsupdetails.dfm

来自「自己做过的工程」· DFM 代码 · 共 298 行

DFM
298
字号
object formsupdetails: Tformsupdetails
  Left = 127
  Top = 105
  BorderStyle = bsDialog
  Caption = #25509#24453#28857#33756
  ClientHeight = 385
  ClientWidth = 549
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 311
    Width = 549
    Height = 74
    Align = alBottom
    BorderStyle = bsSingle
    TabOrder = 0
    object but_add: TButton
      Left = 96
      Top = 19
      Width = 81
      Height = 33
      Caption = #28155#21152
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 0
      OnClick = but_addClick
    end
    object but_modify: TButton
      Left = 224
      Top = 19
      Width = 81
      Height = 33
      Caption = #35760#24405#20316#24223
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnClick = but_modifyClick
    end
    object but_exit: TButton
      Left = 360
      Top = 19
      Width = 81
      Height = 33
      Caption = #36864#20986
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnClick = but_exitClick
    end
  end
  object page_sup: TPageControl
    Left = 0
    Top = 0
    Width = 553
    Height = 313
    ActivePage = TabSheet1
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -14
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabIndex = 0
    TabOrder = 1
    object TabSheet1: TTabSheet
      Caption = #23458#20154#26126#32454
      OnShow = TabSheet1Show
      object DBGrid1: TDBGrid
        Left = 8
        Top = 5
        Width = 529
        Height = 273
        DataSource = DataSourcedetail
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -14
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnCellClick = DBGrid1CellClick
        Columns = <
          item
            Expanded = False
            FieldName = 'sdid'
            Title.Caption = #23601#39184#35760#24405#21495
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 74
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'tableno'
            Title.Caption = #25955#24231#26700#21495
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 63
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'sroomno'
            Title.Caption = #21253#38388#32534#21495
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 65
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'username'
            Title.Caption = #23458#20154#22995#21517
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 67
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'userno'
            Title.Caption = #20154#25968
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 41
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'entertime'
            Title.Caption = #30331#35760#26102#38388
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 107
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'employeeid'
            Title.Caption = #25805#20316#21592#32534#21495
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 100
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'remark'
            Title.Caption = #22791#27880
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 260
            Visible = True
          end>
      end
    end
    object TabSheet2: TTabSheet
      Caption = #28857#33756#26126#32454
      ImageIndex = 1
      OnShow = TabSheet2Show
      object Label1: TLabel
        Left = 32
        Top = 8
        Width = 84
        Height = 14
        Caption = #23601#39184#35760#24405#21495#65306
      end
      object lab_supuserid: TLabel
        Left = 120
        Top = 8
        Width = 42
        Height = 14
        Caption = #26080#35760#24405
      end
      object DBGrid2: TDBGrid
        Left = 8
        Top = 32
        Width = 505
        Height = 249
        DataSource = DataSourceconsumedetail
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = ANSI_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -14
        TitleFont.Name = #23435#20307
        TitleFont.Style = []
        OnCellClick = DBGrid2CellClick
        Columns = <
          item
            Expanded = False
            FieldName = 'supclass'
            Title.Caption = #37202#33756#31867#22411
            Width = 110
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supname'
            Title.Caption = #37202#33756#21517#31216
            Width = 117
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supunit'
            Title.Caption = #21333#20301
            Width = 48
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supprice'
            Title.Caption = #20215#26684
            Width = 78
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supno'
            Title.Caption = #25968#37327
            Width = 44
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supmoney'
            Title.Caption = #37329#39069
            Width = 87
            Visible = True
          end>
      end
    end
  end
  object DataSourcedetail: TDataSource
    DataSet = DMHotel.ds_sup_detail
    Left = 376
    Top = 8
  end
  object DataSourceconsumedetail: TDataSource
    DataSet = DMHotel.ds_sup_consume_detail
    Left = 416
    Top = 8
  end
end

⌨️ 快捷键说明

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