📄 form3.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "电话查询"
ClientHeight = 1215
ClientLeft = 60
ClientTop = 345
ClientWidth = 3795
Icon = "form3.frx":0000
LinkTopic = "Form3"
ScaleHeight = 1215
ScaleWidth = 3795
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "关闭"
Height = 375
Left = 3000
TabIndex = 3
Top = 840
Width = 615
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 2160
TabIndex = 2
Top = 840
Width = 735
End
Begin VB.TextBox Text1
Height = 375
Left = 1080
TabIndex = 0
Text = "Text1"
Top = 240
Width = 2535
End
Begin VB.Label Label1
Caption = "输入号码"
Height = 255
Left = 120
TabIndex = 1
Top = 240
Width = 735
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim wang As String
wang = Text1.Text
If Trim(wang) <> "" Then
MDIMainForm.Findtelnum wang
Unload Me
End If
End Sub
Private Sub Form_Load()
Text1.Text = ""
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
Dim wang As String
If KeyCode = 13 Then
wang = Text1.Text
If Trim(wang) <> "" Then
MDIMainForm.Findtelnum wang
Unload Me
End If
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -