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

📄 frmproduct_details.frm

📁 英文版Access数据库编程
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmProduct_Details 
   BorderStyle     =   1  'Fixed Single
   ClientHeight    =   5520
   ClientLeft      =   15
   ClientTop       =   15
   ClientWidth     =   6960
   ControlBox      =   0   'False
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5520
   ScaleWidth      =   6960
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin MSComctlLib.ListView lvHistory 
      Height          =   1455
      Left            =   120
      TabIndex        =   13
      Top             =   3960
      Width           =   6735
      _ExtentX        =   11880
      _ExtentY        =   2566
      View            =   3
      LabelEdit       =   1
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      FullRowSelect   =   -1  'True
      GridLines       =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   -2147483643
      Appearance      =   1
      NumItems        =   0
   End
   Begin MSComctlLib.TabStrip tb 
      Height          =   2175
      Left            =   0
      TabIndex        =   23
      Top             =   3360
      Width           =   6975
      _ExtentX        =   12303
      _ExtentY        =   3836
      TabWidthStyle   =   2
      MultiRow        =   -1  'True
      _Version        =   393216
      BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628} 
         NumTabs         =   1
         BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            ImageVarType    =   2
         EndProperty
      EndProperty
   End
   Begin VB.TextBox txtLocation 
      Height          =   285
      Left            =   1440
      TabIndex        =   8
      Top             =   3000
      Width           =   975
   End
   Begin VB.CommandButton cmdClose 
      Caption         =   "&Close"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   5760
      TabIndex        =   10
      ToolTipText     =   "Click here to close this window."
      Top             =   2880
      Width           =   1095
   End
   Begin VB.CommandButton cmdEdit 
      Caption         =   "&Edit"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   5760
      TabIndex        =   9
      ToolTipText     =   "Click here to begin editing the product details."
      Top             =   2400
      Width           =   1095
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "C&ancel"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   5760
      TabIndex        =   12
      ToolTipText     =   "Click here to cancel editing."
      Top             =   2880
      Width           =   1095
   End
   Begin VB.ComboBox cmbBrand 
      Height          =   315
      Left            =   1440
      TabIndex        =   3
      Top             =   1200
      Width           =   3375
   End
   Begin VB.TextBox txtReorder 
      Height          =   285
      Left            =   1440
      MaxLength       =   6
      TabIndex        =   7
      Top             =   2640
      Width           =   615
   End
   Begin VB.TextBox txtMinimum 
      Height          =   285
      Left            =   1440
      MaxLength       =   6
      TabIndex        =   6
      Top             =   2280
      Width           =   615
   End
   Begin VB.TextBox txtQuantity 
      BackColor       =   &H00808080&
      ForeColor       =   &H00FFFFFF&
      Height          =   285
      Left            =   1440
      MaxLength       =   6
      TabIndex        =   5
      ToolTipText     =   "Quantity cannot be changed here. Adjustments are made through Inventory window."
      Top             =   1920
      Width           =   615
   End
   Begin VB.TextBox txtUnitPrice 
      Height          =   285
      Left            =   1440
      MaxLength       =   15
      TabIndex        =   4
      Top             =   1560
      Width           =   1095
   End
   Begin VB.ComboBox cmbCategory 
      Height          =   315
      Left            =   1440
      Style           =   2  'Dropdown List
      TabIndex        =   2
      Top             =   840
      Width           =   3375
   End
   Begin VB.TextBox txtDescription 
      Height          =   285
      Left            =   1440
      MaxLength       =   255
      TabIndex        =   1
      Top             =   480
      Width           =   3375
   End
   Begin VB.TextBox txtProductID 
      BackColor       =   &H00808080&
      ForeColor       =   &H00FFFFFF&
      Height          =   285
      Left            =   1440
      MaxLength       =   15
      TabIndex        =   0
      ToolTipText     =   "Administrator privilege required in order to edit the product ID."
      Top             =   120
      Width           =   1455
   End
   Begin VB.CommandButton cmdSave 
      Caption         =   "&Save"
      BeginProperty Font 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   5760
      TabIndex        =   11
      ToolTipText     =   "Click here to save changes."
      Top             =   2400
      Width           =   1095
   End
   Begin VB.Label Label9 
      Caption         =   "Location:"
      Height          =   255
      Left            =   120
      TabIndex        =   22
      Top             =   3000
      Width           =   855
   End
   Begin VB.Label Label8 
      Caption         =   "Product ID:"
      Height          =   255
      Left            =   120
      TabIndex        =   21
      Top             =   120
      Width           =   1215
   End
   Begin VB.Label Label7 
      Caption         =   "Reorder Level:"
      Height          =   255
      Left            =   120
      TabIndex        =   20
      Top             =   2640
      Width           =   1215
   End
   Begin VB.Label Label6 
      Caption         =   "Minimum Level:"
      Height          =   255
      Left            =   120
      TabIndex        =   19
      Top             =   2280
      Width           =   1215
   End
   Begin VB.Label Label5 
      Caption         =   "Quantity:"
      Height          =   255
      Left            =   120
      TabIndex        =   18
      Top             =   1920
      Width           =   1215
   End
   Begin VB.Label Label4 
      Caption         =   "Unit Price:"
      Height          =   255
      Left            =   120
      TabIndex        =   17
      Top             =   1560
      Width           =   1215
   End
   Begin VB.Label Label3 
      Caption         =   "Brand:"
      Height          =   255
      Left            =   120
      TabIndex        =   16
      Top             =   1200
      Width           =   1215
   End
   Begin VB.Label Label2 
      Caption         =   "Category ID:"
      Height          =   255
      Left            =   120
      TabIndex        =   15
      Top             =   840
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "Description:"
      Height          =   255
      Left            =   120
      TabIndex        =   14
      Top             =   480
      Width           =   1215
   End
End
Attribute VB_Name = "frmProduct_Details"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub FormMode(ByVal strMode As ModeStatus)
'Determine the status of the controls
If strMode = Editing Then
    If CurrentUser.prvlgAdmin = True Then
        txtProductID.Locked = False
        txtQuantity.Locked = False

⌨️ 快捷键说明

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