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

📄 frmshipmentstodoinfoedit.frm

📁 企业ERP系统 采用VB+SQL2000实现。 有客户合约
💻 FRM
字号:
VERSION 5.00
Object = "{4932CEF1-2CAA-11D2-A165-0060081C43D9}#2.0#0"; "Actbar2.OCX"
Begin VB.Form frmShipmentsTodoInfoEdit 
   Caption         =   "編輯打印信息"
   ClientHeight    =   3495
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4080
   LinkTopic       =   "Form1"
   ScaleHeight     =   3495
   ScaleWidth      =   4080
   StartUpPosition =   3  'Windows Default
   Begin ActiveBar2LibraryCtl.ActiveBar2 ActiveBar21 
      Height          =   3495
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4080
      _LayoutVersion  =   1
      _ExtentX        =   7197
      _ExtentY        =   6165
      _DataPath       =   ""
      Bands           =   "frmShipmentsTodoInfoEdit.frx":0000
      Begin VB.Frame Frame1 
         Height          =   2895
         Left            =   60
         TabIndex        =   1
         Top             =   540
         Width           =   3915
         Begin VB.TextBox txtShipmentsPatternAmount 
            BackColor       =   &H00C0FFC0&
            Height          =   315
            Left            =   1560
            TabIndex        =   7
            Top             =   1680
            Width           =   1995
         End
         Begin VB.TextBox txtColorLayout 
            Height          =   315
            Left            =   1560
            MaxLength       =   20
            TabIndex        =   6
            Top             =   1200
            Width           =   1995
         End
         Begin VB.TextBox txtContractNo 
            BackColor       =   &H00C0C0FF&
            Height          =   315
            Left            =   1560
            MaxLength       =   20
            TabIndex        =   5
            Top             =   240
            Width           =   1995
         End
         Begin VB.CommandButton cmdOk 
            Caption         =   "確定 &A"
            Height          =   315
            Left            =   660
            TabIndex        =   4
            Top             =   2340
            Width           =   735
         End
         Begin VB.CommandButton cmdClose 
            Caption         =   "關閉 &C"
            Height          =   315
            Left            =   2400
            TabIndex        =   3
            Top             =   2340
            Width           =   735
         End
         Begin VB.TextBox txtFabricNo 
            BackColor       =   &H00FFFFFF&
            Height          =   315
            Left            =   1560
            MaxLength       =   20
            TabIndex        =   2
            Top             =   720
            Width           =   1995
         End
         Begin VB.Label Label4 
            Caption         =   "出辦數量"
            Height          =   315
            Left            =   240
            TabIndex        =   11
            Top             =   1680
            Width           =   915
         End
         Begin VB.Label Label2 
            Caption         =   "顏色花型"
            Height          =   315
            Left            =   240
            TabIndex        =   10
            Top             =   1200
            Width           =   915
         End
         Begin VB.Label Label1 
            Caption         =   "合約編號"
            Height          =   255
            Left            =   240
            TabIndex        =   9
            Top             =   240
            Width           =   855
         End
         Begin VB.Label Label3 
            Caption         =   "布號"
            Height          =   255
            Index           =   4
            Left            =   240
            TabIndex        =   8
            Top             =   720
            Width           =   1035
         End
      End
   End
End
Attribute VB_Name = "frmShipmentsTodoInfoEdit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public lngrow As Integer
Private Sub ActiveBar21_ToolClick(ByVal Tool As ActiveBar2LibraryCtl.Tool)
    Select Case Tool.Name
            Case "cmdSave":
                 cmdOk_Click
           Case "cmdCancel":
                Unload Me
    End Select
End Sub

Private Sub cmdClose_Click()
    Unload Me
End Sub

Private Sub cmdOk_Click()
    With frmShipmentsTodoInfo
        .MSHF1.TextMatrix(lngrow, 1) = txtContractNo
        .MSHF1.TextMatrix(lngrow, 2) = txtFabricNo
        .MSHF1.TextMatrix(lngrow, 3) = txtColorLayout
        .MSHF1.TextMatrix(lngrow, 4) = txtShipmentsPatternAmount
        MsgBox "修改成功", vbInformation + vbOKOnly, "提示"
    End With
    Unload Me
End Sub

Private Sub Form_Load()
    Me.Move (Screen.Width - Me.Width) \ 2, (Screen.Height - Me.Height) \ 2
    InitTitle
End Sub
Private Sub InitTitle()
    Label1.Caption = "合約編號"
    Label2.Caption = "顏色花型"
    Label3.item(4).Caption = "布號"
    Label4.Caption = "出貨數量"
    cmdOk.Caption = "確定 &O"
    cmdClose.Caption = "關閉 &C"
    Me.Caption = "編輯打印信息"
End Sub
Private Sub txtShipmentsPatternAmount_KeyPress(KeyAscii As Integer)
If KeyAscii <> 8 And KeyAscii <> 13 And KeyAscii <> 46 Then
            If KeyAscii < 48 Or KeyAscii > 57 Then KeyAscii = 0
 End If
End Sub





⌨️ 快捷键说明

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