form3.frm
来自「gps 源码 vb+access 其他地方很难找到 很详细的说明」· FRM 代码 · 共 74 行
FRM
74 行
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 + =
减小字号Ctrl + -
显示快捷键?