home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmFind
- BorderStyle = 3 'Fixed Dialog
- Caption = "Find"
- ClientHeight = 1395
- ClientLeft = 2655
- ClientTop = 3585
- ClientWidth = 4950
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 1800
- Left = 2595
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1395
- ScaleWidth = 4950
- Top = 3240
- Width = 5070
- Begin VB.Frame Frame1
- Caption = "Direction"
- Height = 612
- Left = 1560
- TabIndex = 3
- Top = 720
- Width = 2052
- Begin VB.OptionButton optDirection
- Caption = "&Down"
- Height = 252
- Index = 1
- Left = 960
- TabIndex = 5
- Top = 240
- Value = -1 'True
- Width = 852
- End
- Begin VB.OptionButton optDirection
- Caption = "&Up"
- Height = 252
- Index = 0
- Left = 240
- TabIndex = 4
- Top = 240
- Width = 612
- End
- End
- Begin VB.CheckBox chkCase
- Caption = "Match &Case"
- Height = 495
- Left = 120
- TabIndex = 2
- Top = 720
- Width = 1335
- End
- Begin VB.TextBox Text1
- Height = 500
- Left = 1200
- TabIndex = 1
- Top = 120
- Width = 2415
- End
- Begin VB.CommandButton cmdcancel
- Cancel = -1 'True
- Caption = "Cancel"
- Height = 372
- Left = 3720
- TabIndex = 7
- Top = 600
- Width = 1092
- End
- Begin VB.CommandButton cmdFind
- Caption = "&Find"
- Default = -1 'True
- Height = 372
- Left = 3720
- TabIndex = 6
- Top = 120
- Width = 1092
- End
- Begin VB.Label Label1
- Caption = "Fi&nd What:"
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 240
- Width = 975
- End
- Attribute VB_Name = "frmFind"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub chkCase_Click()
- gFindCase = chkCase.VALUE
- End Sub
- Private Sub cmdcancel_Click()
- gFindString = Text1.TEXT
- gFindCase = chkCase.VALUE
- Unload frmFind
- End Sub
- Private Sub cmdFind_Click()
- gFindString = Text1.TEXT
- FindIt
- End Sub
- Private Sub Form_Load()
- cmdFind.Enabled = False
- optDirection(gFindDirection).VALUE = 1
- End Sub
- Private Sub optDirection_Click(index As Integer)
- gFindDirection = index
- End Sub
- Private Sub Text1_Change()
- FirstTime = True
- If Text1.TEXT = "" Then
- cmdFind.Enabled = False
- Else
- cmdFind.Enabled = True
- End If
- End Sub
-