?? frmcommodityclassmodify.frm
字號:
VERSION 5.00
Begin VB.Form frmCommodityClassModify
BorderStyle = 3 'Fixed Dialog
Caption = "商品類管理"
ClientHeight = 6975
ClientLeft = 2760
ClientTop = 3750
ClientWidth = 9960
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 9739.865
ScaleMode = 0 'User
ScaleWidth = 9960
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Frame famTerminally
Height = 975
Left = 2040
TabIndex = 7
Top = 3240
Width = 4335
Begin VB.OptionButton opTerminally0
Caption = "抽象商品類"
Height = 195
Left = 2640
TabIndex = 9
Top = 480
Width = 1215
End
Begin VB.OptionButton opTerminally1
Caption = "具體商品類"
Height = 195
Left = 240
TabIndex = 8
Top = 480
Width = 1215
End
End
Begin VB.TextBox txtName
Height = 495
Left = 2040
TabIndex = 5
Top = 2520
Width = 4335
End
Begin ClassSystem.InputNumber txtNo
Height = 495
Left = 2040
TabIndex = 3
Top = 1440
Width = 4215
_ExtentX = 7435
_ExtentY = 873
BorderStyle = 1
End
Begin VB.CommandButton cmdOK
Caption = "OK"
Default = -1 'True
Height = 375
Left = 5640
TabIndex = 1
Top = 6120
Width = 1095
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Left = 7800
TabIndex = 0
Top = 6120
Width = 1095
End
Begin VB.Label lblTerminally
AutoSize = -1 'True
Caption = "類性質"
Height = 195
Left = 1200
TabIndex = 6
Top = 3600
Width = 540
End
Begin VB.Label lblName
AutoSize = -1 'True
Caption = "類名稱"
Height = 195
Left = 1200
TabIndex = 4
Top = 2640
Width = 540
End
Begin VB.Label lblNo
AutoSize = -1 'True
Caption = "類編碼"
Height = 195
Left = 1200
TabIndex = 2
Top = 1560
Width = 540
End
End
Attribute VB_Name = "frmCommodityClassModify"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public lSaved As Boolean
Public sName As String
Public sNo As String
Public sTerminally As String
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
If CheckSave() Then
lSaved = True
sName = txtName.Text
sNo = txtNo.Text
If opTerminally0.value = True Then
sTerminally = opTerminally0.Caption
Else
sTerminally = opTerminally1.Caption
End If
Unload Me
End If
End Sub
Private Function CheckSave() As Boolean
CheckSave = True
If CDbl(txtNo.Text) <= 0 Then CheckSave = False
If txtName.Text = "" Then CheckSave = False
If opTerminally0.value = False And opTerminally1.value = False Then CheckSave = False
End Function
Private Sub Form_Load()
lSaved = False
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -