📄
字号:
VERSION 5.00
Begin VB.Form CSH_FrmGridSearch
BorderStyle = 1 'Fixed Single
Caption = "编码定位"
ClientHeight = 1350
ClientLeft = 45
ClientTop = 330
ClientWidth = 3615
Icon = "初始化_编码定位.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1350
ScaleWidth = 3615
StartUpPosition = 1 '所有者中心
Begin VB.TextBox txtCode
Height = 300
Left = 1020
MaxLength = 15
TabIndex = 2
Top = 240
Width = 2325
End
Begin VB.CommandButton cmdOK
Caption = "确定(&O)"
Height = 300
Left = 1020
TabIndex = 1
Top = 780
Width = 1120
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消(&C)"
Height = 300
Left = 2220
TabIndex = 0
Top = 780
Width = 1120
End
Begin VB.Label labLocal
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "编码名称:"
Height = 180
Left = 210
TabIndex = 3
Top = 300
Width = 900
End
End
Attribute VB_Name = "CSH_FrmGridSearch"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'取消按钮
Private Sub cmdCancel_Click()
str_Code = ""
Unload Me
End Sub
'确定按钮
Private Sub cmdOK_Click()
If Trim(txtCode.Text) = "" Then Exit Sub
str_Code = Trim(txtCode.Text)
Unload Me
End Sub
Private Sub Form_Activate()
txtCode.SetFocus
End Sub
'如果按了回车键
Private Sub txtCode_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
cmdOK_Click
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -