⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modstat.bas

📁 我同学艾大桥的记事本程序
💻 BAS
字号:
Attribute VB_Name = "modstat"
Option Explicit
Public intnum As Integer            '设置查找的位置
Public strfind As String            '存放查找的文本内容
Public strreplace As String         '存放替换的文本内容
Public blnall As Boolean            '判断是否全字匹配
Public blnfind As Boolean           '判断是否找到
Public blnMatch As Boolean          '是否区分大小写
Public intoption As Integer         'options的值


Public Sub find()                          '查找过程
 If frmnote.rtxtfile.find(strfind, intnum, , intoption) <> -1 Then
            blnfind = True
'            intnum = intnum + 1
            intnum = frmnote.rtxtfile.find(strfind, intnum, , intoption)
            intnum = intnum + 1

Else
            blnfind = False
            intnum = 0
End If

If blnfind = False Then MsgBox "记事本已经完成文档搜索。", 64 + 0, "记事本"
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -