📄 searchnum.frm
字号:
VERSION 5.00
Begin VB.Form SearchNum
Caption = "查找读者编号"
ClientHeight = 2055
ClientLeft = 60
ClientTop = 345
ClientWidth = 5220
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 2055
ScaleWidth = 5220
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdOkCancel
Cancel = -1 'True
Caption = "不想查了(&E)"
Height = 375
Index = 1
Left = 3000
TabIndex = 3
Top = 1560
Width = 1335
End
Begin VB.CommandButton cmdOkCancel
Caption = "填好了(&E)"
Default = -1 'True
Height = 375
Index = 0
Left = 840
TabIndex = 2
Top = 1560
Width = 1335
End
Begin VB.TextBox txtBookNum
ForeColor = &H000000C0&
Height = 375
Left = 600
TabIndex = 0
Text = "Text1"
Top = 840
Width = 3375
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请输入读者的借书证号"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 1
Top = 360
Width = 1800
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 = txtBookNum
SearchFlag = True
Unload Me
Case 1
SearchFlag = False
Unload Me
End Select
End Sub
Private Sub Form_Load()
txtBookNum.Text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -