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

📄 frmfjbzlb.frm

📁 宾馆管理系统 宾馆管理系统 宾馆管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form frmFjbzlb 
   Caption         =   "房间标准列表"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
      Height          =   1695
      Left            =   240
      TabIndex        =   1
      Top             =   840
      Width           =   3975
      _ExtentX        =   7011
      _ExtentY        =   2990
      _Version        =   393216
   End
   Begin VB.Label Label1 
      Caption         =   "房 间 标 准 列 表"
      BeginProperty Font 
         Name            =   "华文新魏"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   600
      TabIndex        =   0
      Top             =   120
      Width           =   3375
   End
End
Attribute VB_Name = "frmFjbzlb"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub ShowTitle()
  Dim i As Integer
     With msgList
     .Cols = 10
     .TextMatrix(0, 1) = "标准编号"
     .TextMatrix(0, 2) = "标准名称"
     .TextMatrix(0, 3) = "房间面积"
     .TextMatrix(0, 4) = "床位数量"
     .TextMatrix(0, 5) = "是否有空调"
     .TextMatrix(0, 6) = "是否有电话"
     .TextMatrix(0, 7) = "是否有电视"
     .TextMatrix(0, 8) = "是否有卫生间"
     .TextMatrix(0, 9) = "房间单价"
     .FixedRows = 1
     For i = 0 To 9
       .ColAlignment(i) = 0
     Next i
     .FillStyle = flexFillRepeat
     .Col = 0
     .Row = 0
     .RowSel = 1
     .CellAlignment = 4
     .ColWidth(0) = 300
     .ColWidth(1) = 1000
     .ColWidth(2) = 2000
     .ColWidth(3) = 2000
     .ColWidth(4) = 1000
     .ColWidth(5) = 1000
     .ColWidth(6) = 1000
     .ColWidth(7) = 1000
     .ColWidth(8) = 1000
     .ColWidth(9) = 1000
     .Row = 1
     End With
     
End Sub
Private Sub ShowData()
   Dim i As Integer
   Set mrc = ExecuteSQL(txtSQL, MsgText)
   With msgList
   .Rows = 1
   Do While Not mrc.EOF
     .Rows = .Rows + 1
     For i = 1 To mrc.Fields.Count
         Select Case mrc.Fields(i - 1).Type
            Case adDBDate
             .TextMatrix(.Rows - 1, i) = Format(mrc.Fields(i - 1) & " ", "yyyy-mm-dd")
            Case Else
              .TextMatrix(.Rows - 1, i) = mrc.Fields(i - 1) & " "
         End Select
     Next i
     mrc.MoveNext
     Loop
  End With
  mrc.Close

End Sub

⌨️ 快捷键说明

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