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

📄 frmmattype.frm

📁 一套简易的MIS系统。带SQLServer数据库。供参考。
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{E95A2510-F3D1-416D-823B-4F840FE98091}#3.0#0"; "Command.ocx"
Begin VB.Form frmMatType 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "商品类型"
   ClientHeight    =   6870
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   9750
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   6870
   ScaleWidth      =   9750
   ShowInTaskbar   =   0   'False
   Begin MSComctlLib.ListView lstMatInfo 
      Height          =   5625
      Left            =   30
      TabIndex        =   16
      Top             =   1200
      Width           =   9675
      _ExtentX        =   17066
      _ExtentY        =   9922
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   -2147483643
      BorderStyle     =   1
      Appearance      =   1
      NumItems        =   0
   End
   Begin VB.ComboBox cmbState 
      Height          =   300
      Left            =   4350
      Style           =   2  'Dropdown List
      TabIndex        =   11
      Top             =   840
      Width           =   2475
   End
   Begin MSComCtl2.DTPicker inDate 
      Height          =   315
      Left            =   960
      TabIndex        =   9
      Top             =   833
      Width           =   2475
      _ExtentX        =   4366
      _ExtentY        =   556
      _Version        =   393216
      Format          =   25362432
      CurrentDate     =   38876
   End
   Begin VB.TextBox txtMat 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   3
      Left            =   4350
      TabIndex        =   6
      Top             =   480
      Width           =   2475
   End
   Begin VB.TextBox txtMat 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   2
      Left            =   960
      TabIndex        =   4
      Top             =   480
      Width           =   2475
   End
   Begin VB.TextBox txtMat 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   1
      Left            =   4350
      TabIndex        =   2
      Top             =   120
      Width           =   2475
   End
   Begin VB.TextBox txtMat 
      Appearance      =   0  'Flat
      Height          =   300
      Index           =   0
      Left            =   960
      TabIndex        =   0
      Top             =   120
      Width           =   2475
   End
   Begin CSCommand.Command cmdOK 
      Height          =   375
      Left            =   6930
      TabIndex        =   12
      Top             =   180
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   661
      Icon            =   "frmMatType.frx":0000
      Caption         =   "确定(&S)"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin CSCommand.Command cmdUpdate 
      Height          =   375
      Left            =   8340
      TabIndex        =   13
      Top             =   180
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   661
      Icon            =   "frmMatType.frx":059A
      Caption         =   "修改(&U)"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin CSCommand.Command cmdQuery 
      Height          =   375
      Left            =   6930
      TabIndex        =   14
      Top             =   630
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   661
      Icon            =   "frmMatType.frx":0B34
      Caption         =   "查询(&Q)"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin CSCommand.Command cmdBack 
      Height          =   375
      Left            =   8340
      TabIndex        =   15
      Top             =   630
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   661
      Icon            =   "frmMatType.frx":10CE
      Caption         =   "返回(&B)"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "状    态:"
      Height          =   180
      Index           =   5
      Left            =   3510
      TabIndex        =   10
      Top             =   900
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "录入日期:"
      Height          =   180
      Index           =   4
      Left            =   120
      TabIndex        =   8
      Top             =   900
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "商品单位:"
      Height          =   180
      Index           =   3
      Left            =   3510
      TabIndex        =   7
      Top             =   540
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "商品规格:"
      Height          =   180
      Index           =   2
      Left            =   120
      TabIndex        =   5
      Top             =   540
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "商品名称:"
      Height          =   180
      Index           =   1
      Left            =   3510
      TabIndex        =   3
      Top             =   180
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "商品编码:"
      Height          =   180
      Index           =   0
      Left            =   120
      TabIndex        =   1
      Top             =   180
      Width           =   900
   End
End
Attribute VB_Name = "frmMatType"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmbState_KeyPress(KeyAscii As Integer)
    
    If KeyAscii = vbKeyReturn Then
        cmdOK.SetFocus
        Exit Sub
    End If
    
End Sub

Private Sub cmdBack_Click()
    
    '返回
    tBackMain Me
    
End Sub

⌨️ 快捷键说明

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