📄 search.frm
字号:
VERSION 5.00
Begin VB.Form fSearch
BorderStyle = 3 'Fixed Dialog
Caption = "查询条件"
ClientHeight = 2085
ClientLeft = 2295
ClientTop = 2580
ClientWidth = 6690
FillColor = &H80000000&
ForeColor = &H8000000A&
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2085
ScaleWidth = 6690
ShowInTaskbar = 0 'False
Begin VB.ComboBox Combo3
Height = 300
ItemData = "Search.frx":0000
Left = 4080
List = "Search.frx":000A
TabIndex = 31
Text = "全部"
Top = 1680
Visible = 0 'False
Width = 1095
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Search.frx":001A
Left = 720
List = "Search.frx":0036
TabIndex = 18
Text = "全部"
Top = 1680
Width = 975
End
Begin VB.ComboBox Combo2
Height = 300
Left = 2520
TabIndex = 17
Text = "全部"
Top = 1680
Visible = 0 'False
Width = 1095
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 5400
TabIndex = 4
Top = 600
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "查询"
Height = 375
Left = 5400
TabIndex = 3
Top = 120
Width = 1095
End
Begin VB.Frame Frame2
Height = 1575
Left = 2880
TabIndex = 2
Top = 0
Width = 2295
Begin VB.TextBox Text10
Height = 270
Left = 1080
MaxLength = 2
TabIndex = 25
Top = 840
Width = 495
End
Begin VB.TextBox Text9
Height = 270
Left = 120
MaxLength = 2
TabIndex = 24
Top = 840
Width = 495
End
Begin VB.TextBox Text8
Height = 270
Left = 1080
MaxLength = 2
TabIndex = 23
Top = 480
Width = 495
End
Begin VB.TextBox Text7
Height = 270
Left = 120
MaxLength = 2
TabIndex = 22
Top = 480
Width = 495
End
Begin VB.Label Label3
Caption = "分"
Height = 255
Index = 3
Left = 1680
TabIndex = 29
Top = 840
Width = 255
End
Begin VB.Label Label3
Caption = "分至"
Height = 255
Index = 2
Left = 720
TabIndex = 28
Top = 840
Width = 375
End
Begin VB.Label Label3
Caption = "时"
Height = 255
Index = 1
Left = 1680
TabIndex = 27
Top = 480
Width = 255
End
Begin VB.Label Label3
Caption = "时至"
Height = 255
Index = 0
Left = 720
TabIndex = 26
Top = 480
Width = 375
End
Begin VB.Label Label6
Caption = "时间"
Height = 255
Index = 1
Left = 120
TabIndex = 21
Top = 240
Width = 1575
End
End
Begin VB.Frame Frame1
Height = 1575
Left = 120
TabIndex = 0
Top = 0
Width = 2655
Begin VB.TextBox Text6
Height = 270
Left = 1320
MaxLength = 2
TabIndex = 14
Top = 1200
Width = 735
End
Begin VB.TextBox Text5
Height = 270
Left = 120
MaxLength = 2
TabIndex = 13
Top = 1200
Width = 735
End
Begin VB.TextBox Text4
Height = 270
Left = 1320
MaxLength = 2
TabIndex = 10
Top = 840
Width = 735
End
Begin VB.TextBox Text3
Height = 270
Left = 120
MaxLength = 2
TabIndex = 9
Top = 840
Width = 735
End
Begin VB.TextBox Text2
Height = 270
Left = 1320
MaxLength = 4
TabIndex = 7
Top = 480
Width = 735
End
Begin VB.TextBox Text1
Height = 270
Left = 120
MaxLength = 4
TabIndex = 6
Top = 480
Width = 735
End
Begin VB.Label Label2
Caption = "日"
Height = 255
Index = 1
Left = 2160
TabIndex = 16
Top = 1200
Width = 255
End
Begin VB.Label Label2
Caption = "日至"
Height = 255
Index = 0
Left = 960
TabIndex = 15
Top = 1200
Width = 495
End
Begin VB.Label Label7
Caption = "月"
Height = 255
Index = 1
Left = 2160
TabIndex = 12
Top = 840
Width = 255
End
Begin VB.Label Label1
Caption = "月至"
Height = 255
Index = 1
Left = 960
TabIndex = 11
Top = 840
Width = 375
End
Begin VB.Label Label7
Caption = "年"
Height = 255
Index = 0
Left = 2160
TabIndex = 8
Top = 480
Width = 255
End
Begin VB.Label Label1
Caption = "年至"
Height = 255
Index = 0
Left = 960
TabIndex = 1
Top = 480
Width = 375
End
Begin VB.Label Label6
Caption = "日期(留空表示不限制该条件)"
Height = 255
Index = 0
Left = 120
TabIndex = 5
Top = 240
Width = 2415
End
End
Begin VB.Label Label8
Caption = "类型"
Enabled = 0 'False
Height = 255
Left = 3720
TabIndex = 30
Top = 1680
Visible = 0 'False
Width = 375
End
Begin VB.Label Label4
Caption = "通道号"
Height = 255
Left = 120
TabIndex = 20
Top = 1680
Width = 615
End
Begin VB.Label Label5
Caption = "电话号码"
Height = 255
Left = 1800
TabIndex = 19
Top = 1680
Visible = 0 'False
Width = 735
End
End
Attribute VB_Name = "fSearch"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub OLE1_Updated(Code As Integer)
End Sub
Private Sub Combo1_Change()
If Len(Trim(Combo1.Text)) > 1 Then
Combo1.Text = Mid(Combo1.Text, 1, 1)
End If
End Sub
Private Sub Combo1_KeyPress(KeyAscii As Integer)
'If Len(Trim(Combo1.Text)) > 0 And Trim(Combo1.Text) <> "全部" Then
' KeyAscii = 0
' Exit Sub
'End If
Dim Numbers As String
Numbers = "1234567890" + Chr(8) + Chr(46)
If InStr(Numbers, Chr(KeyAscii)) = 0 Then
KeyAscii = 0
End If
End Sub
Private Sub Combo2_Change()
If Len(Trim(Combo2.Text)) > NumLong Then
Combo1.Text = Mid(Combo1.Text, 1, 1)
End If
End Sub
Private Sub Combo2_KeyPress(KeyAscii As Integer)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -