📄 searchnum.frm
字号:
VERSION 5.00
Begin VB.Form SearchNum
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "查找信息"
ClientHeight = 2010
ClientLeft = 45
ClientTop = 330
ClientWidth = 3240
ControlBox = 0 'False
Icon = "SearchNum.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2010
ScaleWidth = 3240
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
BackColor = &H005CE764&
Height = 60
Left = -60
TabIndex = 4
Top = 600
Width = 3360
End
Begin VB.CommandButton cmdOkCancel
BackColor = &H00FFFFFF&
Cancel = -1 'True
Caption = "取消"
Height = 345
Index = 1
Left = 1905
Style = 1 'Graphical
TabIndex = 3
Top = 1440
Width = 960
End
Begin VB.CommandButton cmdOkCancel
BackColor = &H00FFFFFF&
Caption = "确定"
Height = 345
Index = 0
Left = 960
Style = 1 'Graphical
TabIndex = 2
Top = 1440
Width = 960
End
Begin VB.TextBox txtBookNum
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 345
Left = 195
TabIndex = 0
Text = "Text1"
Top = 900
Width = 2655
End
Begin VB.Image Image1
Height = 480
Left = 60
Picture = "SearchNum.frx":058A
Top = 75
Width = 480
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入查找信息的编号"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 210
Left = 555
TabIndex = 1
Top = 330
Width = 2100
End
Begin VB.Shape Shape1
BackColor = &H00D0D0D0&
BackStyle = 1 'Opaque
BorderStyle = 0 'Transparent
Height = 660
Left = -30
Top = -30
Width = 3285
End
End
Attribute VB_Name = "SearchNum"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdOkCancel_Click(Index As Integer)
Select Case Index
Case 0
If txtBookNum.Text = "" Then
MsgBox "必须填写信息编号", 0 + 48, "提示"
txtBookNum.SetFocus
Exit Sub
End If
BookBianHao = Trim(txtBookNum)
SearchFlag = True
Unload Me
Case 1
SearchFlag = False
Unload Me
End Select
End Sub
Private Sub Form_Load()
txtBookNum.Text = ""
End Sub
Private Sub txtBookNum_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
KeyAscii = 0
cmdOkCancel_Click 0
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -