亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? frmsearch.frm

?? NOPAD的VB6原碼,寫的還蠻齊全的,請參考
?? FRM
?? 第 1 頁 / 共 2 頁
字號:
Me.Hide

End Sub

Private Sub btnNext_Click()

'declare vars
Dim SearchString As String
Dim FoundPos As Long
Dim FindFlag As Integer

'init local vars
frmMain.MsgMode = "Search"
SearchString = cboFind.Text
FoundPos = frmMain.ActiveForm.Text1.SelStart
FindFlag = 0

'assign values to flag var
If chkWholeWord.Value = 1 Then
    FindFlag = FindFlag + 2
End If

If chkMatch.Value = 1 Then
    FindFlag = FindFlag + 4
End If

frmSearchbtnNextClickJump1:
If FoundPos = Len(frmMain.ActiveForm.Text1.Text) Then
    FoundPos = 0
Else
    FoundPos = FoundPos + 1
End If

'find next occurance of SearchString
If FoundPos > StartPos Or (FoundPos = 0 And StartPos = 0) Then
    
    'if cursor is positioned after StartPos
    FoundPos = frmMain.ActiveForm.Text1.Find(SearchString, FoundPos, , FindFlag)

Else
    
    'if cursor is positioned before StartPos
    FoundPos = frmMain.ActiveForm.Text1.Find(SearchString, FoundPos, StartPos, FindFlag)

End If

'check for end of document or end of defined search area
If FoundPos = -1 Then
    
    'if at end of doc, check from beginning of doc to StartPos
    'If frmMain.ActiveForm.Text1.SelStart > StartPos Or frmMain.ActiveForm.Text1.SelStart = 0 Or frmMain.ActiveForm.Text1.SelStart = Len(frmMain.ActiveForm.Text1.Text) Then
        FoundPos = frmMain.ActiveForm.Text1.Find(SearchString, 0, StartPos, FindFlag)
    'End If
    
    'if there are no more occurances of SearchString in current doc
    'then switch to next doc in array
    If FoundPos < 0 Or FoundPos = StartPos Then
       
       'if this is the last/only doc in the array to be searched
       If CurrentDocIndex = AFormsCount Then
           btnReplace.Enabled = False
           
           'if this proc called by btnNext_click() and not btnAll_Click()
           If frmMain.ReplaceFlag = False Then
                
                'make search form not topmost
                success% = SetWindowPos(frmSearch.hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, FLAGS)
                
                'hide search form
                Me.Hide
                
                MsgBox "The specified region has been searched.", 48
                CurrentDocIndex = 0
                
                'init global var for next search
                frmMain.UserMsgChoice = ""
                
                'show search form
                Me.Show
                
                'make search form not topmost
                success% = SetWindowPos(frmSearch.hWnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS)
                
           End If
           
           'set focus back to for that search originated in (from StartFrom var)
           For x = 0 To Forms.Count - 1
            If Forms(x).Caption = StartForm Then
                Forms(x).SetFocus
            End If
           Next x
           
           're-initialize form so ending position is now starting position
           'this allows the user to search the windows again.
           Init
           
           'this line used to tell btnAll_Click()(if it has called this proc)
           'that the search has ended and it should stop looping
           frmMain.UserMsgChoice = "Cancel"
           
           'init btnReplace
           If frmMain.ActiveForm.Text1.SelLength > 0 Then
                btnReplace.Enabled = True
            Else
                btnReplace.Enabled = False
            End If
       
       Else
            
           CurrentDocIndex = CurrentDocIndex + 1       'cycle to the next form index in array
           AForms(CurrentDocIndex).SetFocus             'set focus to next form in array
           AForms(CurrentDocIndex).Text1.SelStart = 0   'set cursor position to beginning of text
           StartPos = 0                                'init StartPos var to zero
           FoundPos = -1
           btnReplace.Enabled = True
           GoTo frmSearchbtnNextClickJump1
            
        End If
        
    
    End If
    
Else
    
    btnReplace.Enabled = True

End If

End Sub

Private Sub btnReplace_Click()

Dim StartPos As Long

Dim T As RichTextBox
Set T = frmMain.ActiveForm.Text1

'check for highlighted text
If T.SelLength < 1 Then
    MsgBox "You must select some text to replace.", 16, "REPLACE TEXT ERROR"
    Exit Sub
End If

'assing cursor starting pos to local var
StartPos = T.SelStart

'replace highlighted text with contents of Replace With combo
If cboReplace.Text = "" Then
    T.SelText = ""
Else
    T.SelText = cboReplace.Text
End If

'reset cursor position to end of text used for replacement
T.SelStart = StartPos + Len(cboReplace.List(cboReplace.ListIndex))

End Sub



Private Sub cboFind_LostFocus()

Dim Flag As Boolean
Flag = False

'if no items in combo, add current text
If cboFind.ListCount < 1 Then
    cboFind.AddItem cboFind.Text
    cboFind.ListIndex = cboFind.NewIndex
End If

'make sure the current string has been added to the combo
For x = 0 To cboFind.ListCount - 1
    If cboFind.Text = cboFind.List(x) Then
        Flag = True
    End If
Next x

'if current text is not an item in combo
If Flag = False Then
    
    'add item to combo first
    cboFind.AddItem cboFind.Text
    
    'Init Search form (resests AForms array and related counters)
    'Note: Changing the search text is a logical reset of the search
    'therefore the Init procedure is called.  This will cause the
    'form stored in StartForm to use the currently active form instead
    'of the searches originator.
    Init

End If

End Sub


Private Sub cboReplace_LostFocus()

Dim Flag As Boolean
Flag = False

'if no items in combo, add current text
If cboReplace.ListCount < 1 Then
    cboReplace.AddItem cboReplace.Text
    cboReplace.ListIndex = cboReplace.NewIndex
End If

'make sure the current string has been added to the combo
For x = 0 To cboReplace.ListCount - 1
    If cboReplace.Text = cboReplace.List(x) Then
        Flag = True
    End If
Next x

'if current text is not an item in combo
If Flag = False Then
    
    'add item to combo
    cboReplace.AddItem cboReplace.Text
    cboReplace.ListIndex = cboReplace.NewIndex

End If

End Sub


Private Sub optAllDocs_Click()

'destroy existing array
DestroyFormArray

If optAllDocs.Value = True Then

    'add current form to array
    For x = 0 To Forms.Count - 1
        If Forms(x).Caption = StartForm Then
            ReDim Preserve AForms(AFormsCount) As Form
            Set AForms(AFormsCount) = frmMain.ActiveForm
        End If
    Next x
    
    'add all other forms to array
    '1 can be used since it refers to MDI parent form that can't be searched
    For x = 1 To Forms.Count - 1
        If Not Forms(x).Caption = StartForm Then
        
            'look for "Searchable" in the form's tag property
            'this is to insure that no system forms are added to the array
            If InStr(Forms(x).Tag, "Searchable") > 0 Then
                AFormsCount = AFormsCount + 1
                ReDim Preserve AForms(AFormsCount) As Form
                Set AForms(AFormsCount) = Forms(x)
            End If
        End If
    Next x
End If

'init CurrentDocIndex to zero
CurrentDocIndex = 0

End Sub


Private Sub optCurDoc_Click()
    
'destroy existing array
DestroyFormArray

'init AFormsCount to zero
'this must come after DestroyFormArray since that method uses this
'number for its loop
AFormsCount = 0

'add current form to array
For x = 0 To Forms.Count - 1
    If Forms(x).Caption = StartForm Then
        ReDim Preserve AForms(AFormsCount) As Form
        Set AForms(AFormsCount) = frmMain.ActiveForm
    End If
Next x

'init CurrentDocIndex back to zero
CurrentDocIndex = 0

End Sub


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区日韩一区| 欧美一区二区精品| 精久久久久久久久久久| 亚洲一区二区在线观看视频| 国产视频一区二区在线| 久久久噜噜噜久久人人看| 欧美www视频| 精品国产伦一区二区三区观看体验| 欧美日韩在线播放| 91久久免费观看| 欧洲av一区二区嗯嗯嗯啊| 91日韩一区二区三区| 99久精品国产| 蜜臀久久久久久久| 一区二区三区.www| 亚洲精品高清在线| 亚洲成av人片一区二区梦乃| 亚洲成a人v欧美综合天堂下载 | 欧美在线综合视频| 在线视频综合导航| 日韩欧美色综合网站| 久久精品亚洲国产奇米99| 国产精品久久久久久久久动漫| 国产亚洲一区二区三区| 日韩午夜av一区| 欧美色精品天天在线观看视频| 95精品视频在线| 欧美日韩成人激情| 精品美女在线观看| 国产精品久久毛片av大全日韩| 亚洲男同性视频| 首页国产丝袜综合| 精品一区二区免费在线观看| 成人app在线观看| 91丝袜美腿高跟国产极品老师 | 国产v日产∨综合v精品视频| 国产乱码精品一区二区三区忘忧草| 国产91精品免费| 欧美午夜精品一区| 久久久久亚洲蜜桃| 亚洲国产aⅴ天堂久久| 日本伊人色综合网| 国产精品69毛片高清亚洲| 91电影在线观看| 欧美精品一区二区三区高清aⅴ| 欧美激情在线一区二区三区| 亚洲乱码国产乱码精品精可以看 | 欧美日产国产精品| 日韩欧美电影一二三| 国产精品人成在线观看免费| 亚洲永久精品大片| 久草中文综合在线| 91麻豆精品视频| 91精品婷婷国产综合久久性色| 337p粉嫩大胆噜噜噜噜噜91av| 国产精品白丝在线| 欧美成va人片在线观看| 欧美亚洲禁片免费| 91论坛在线播放| 天天综合网 天天综合色| www.亚洲色图.com| 成人av在线资源网| 久久精品综合网| 久久精品国产99久久6| 日本丰满少妇一区二区三区| 亚洲精品在线电影| 麻豆精品视频在线观看免费| 日本高清不卡在线观看| 久久久久久9999| 秋霞电影一区二区| 91高清在线观看| 国产日韩欧美在线一区| 免费在线一区观看| 6080日韩午夜伦伦午夜伦| 中文字幕在线免费不卡| 成人性生交大片免费看在线播放 | 亚洲国产cao| 91久久国产最好的精华液| 中文字幕一区二区三区视频| 国产精品996| 91精品国产色综合久久 | 成人综合在线观看| 久久久不卡网国产精品一区| 久久97超碰色| 91精品国产一区二区三区蜜臀| 亚洲国产精品视频| 色欧美乱欧美15图片| 中文字幕在线一区| 色综合av在线| 亚洲夂夂婷婷色拍ww47| 日本精品视频一区二区三区| 99久久99久久久精品齐齐| 亚洲欧美激情视频在线观看一区二区三区 | 久久蜜桃av一区二区天堂| 免费在线观看一区| 日韩视频一区在线观看| 日本麻豆一区二区三区视频| 欧美一区二区精美| 国产在线精品一区二区夜色| 国产欧美日韩在线观看| 91在线观看免费视频| 天天色 色综合| 久久久久久综合| 成人精品电影在线观看| 欧美不卡一区二区| 粗大黑人巨茎大战欧美成人| 最新热久久免费视频| 欧美日韩国产美| 激情六月婷婷久久| 亚洲欧美激情视频在线观看一区二区三区 | 蜜桃视频一区二区三区| 久久亚洲精品小早川怜子| eeuss鲁一区二区三区| 亚洲综合色区另类av| 精品美女在线播放| 成人激情黄色小说| 日本亚洲视频在线| 国产精品久久网站| 91麻豆精品国产91久久久久 | 91一区在线观看| 秋霞午夜av一区二区三区| 国产精品人成在线观看免费| 在线不卡的av| 91香蕉视频在线| 国产盗摄视频一区二区三区| 午夜欧美2019年伦理| 国产亚洲精品免费| 波多野结衣亚洲一区| 日本不卡中文字幕| 亚洲永久免费视频| 中文字幕欧美区| 日韩欧美一区二区久久婷婷| 91在线视频网址| 国产成人精品免费视频网站| 亚洲福利一二三区| 成人欧美一区二区三区小说 | 91在线观看视频| 成人免费视频视频在线观看免费| 午夜国产精品一区| 日韩美女啊v在线免费观看| 精品国产一区二区亚洲人成毛片| 欧美系列在线观看| 91片黄在线观看| 波波电影院一区二区三区| 国产精品综合一区二区三区| 日韩av一级电影| 婷婷开心久久网| 91麻豆.com| 国产成人免费9x9x人网站视频| 琪琪一区二区三区| 午夜精品福利一区二区蜜股av| 综合久久综合久久| 国产女同性恋一区二区| 精品国产免费久久| 久久综合色一综合色88| 日韩精品最新网址| 欧美一区二区在线视频| 欧美一级久久久| 日韩精品一区二区三区视频在线观看 | 久久综合999| 2欧美一区二区三区在线观看视频| 日韩免费一区二区三区在线播放| 欧美一区二区三区视频免费播放| 欧美高清视频www夜色资源网| 欧美狂野另类xxxxoooo| 欧美伦理视频网站| 欧美成人三级电影在线| 精品国产区一区| 中文字幕精品一区| 亚洲色图19p| 婷婷六月综合亚洲| 国模冰冰炮一区二区| 国产69精品一区二区亚洲孕妇| 粉嫩av一区二区三区在线播放| 成人激情开心网| 欧美性猛交xxxx黑人交| 日韩一区二区精品在线观看| 精品久久久久久亚洲综合网 | 欧美视频一区二区三区在线观看| 欧美人成免费网站| 亚洲精品一区在线观看| 国产精品三级电影| 国产精品一二一区| 一本色道亚洲精品aⅴ| 欧美一区二区精品| 欧美巨大另类极品videosbest| 日韩欧美在线观看一区二区三区| 精品国产青草久久久久福利| 欧美极品少妇xxxxⅹ高跟鞋| 精品剧情在线观看| 欧美日韩亚洲高清一区二区| 国产成人99久久亚洲综合精品| 五月综合激情婷婷六月色窝| 国产成人精品免费看| 欧美视频一区二区在线观看| 色哟哟在线观看一区二区三区| 成人a免费在线看| 制服.丝袜.亚洲.另类.中文 | 国产东北露脸精品视频| 久久爱www久久做|