📄 frmaddvalue.frm
字号:
VERSION 5.00
Begin VB.Form frmAddValue
BorderStyle = 1 'Fixed Single
Caption = "项目设置"
ClientHeight = 2484
ClientLeft = 36
ClientTop = 336
ClientWidth = 3744
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmAddValue.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2484
ScaleWidth = 3744
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 2172
Left = 156
TabIndex = 1
Top = 132
Width = 3552
Begin VB.TextBox Text1
Height = 372
Left = 168
TabIndex = 0
ToolTipText = "0"
Top = 612
Width = 2916
End
Begin VB.CommandButton Command4
Caption = "确定"
Height = 360
Left = 900
TabIndex = 3
Top = 1332
Width = 948
End
Begin VB.CommandButton Command5
Caption = "取消"
Height = 360
Left = 2052
TabIndex = 2
Top = 1332
Width = 948
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "项目名称"
Height = 216
Left = 180
TabIndex = 4
Top = 252
Width = 864
End
End
End
Attribute VB_Name = "frmAddValue"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command4_Click()
tmp_value = Text1.Text
Unload Me
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Form_Load()
If tmp_value = "" Then
Me.Caption = "添加项目"
Else
Me.Caption = "修改项目"
End If
Text1.Text = tmp_value
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -