📄 find.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "Find"
ClientHeight = 1125
ClientLeft = 60
ClientTop = 345
ClientWidth = 5280
Icon = "Find.frx":0000
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1125
ScaleWidth = 5280
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "&Cancel"
Height = 375
Left = 3840
TabIndex = 4
Top = 600
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "&Find Next"
Height = 375
Left = 3840
TabIndex = 3
Top = 120
Width = 1335
End
Begin VB.CheckBox Check1
Caption = "&Match Case"
Height = 195
Left = 120
TabIndex = 2
Top = 840
Width = 1455
End
Begin VB.TextBox Text1
Height = 285
Left = 120
TabIndex = 1
Top = 360
Width = 3615
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Find What:"
Height = 195
Left = 120
TabIndex = 0
Top = 120
Width = 780
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Check1_Click()
If Check1.Value = 1 Then
MatchCase = True
Else
MatchCase = False
End If
End Sub
Private Sub Command1_Click()
Dim Resultado As Long
Dim op As String
op = ""
If Check1.Value = 1 Then op = 4
With ChildForms(frm).Text1
If .SelLength > 0 Then
Resultado = .Find(Text1.Text, .SelStart, .SelStart + .SelLength, Val(op))
If Resultado >= 0 Then
ChildForms(frm).SetFocus
Unload Me
Exit Sub
Else
If MsgBox("XtremePad searched in the actual selection." & Chr(10) & "No se encontr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -