home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmFind
- BorderStyle = 3 'Fixed Dialog
- Caption = "
- ClientHeight = 1395
- ClientLeft = 2655
- ClientTop = 3585
- ClientWidth = 5745
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1395
- ScaleWidth = 5745
- Begin VB.Frame Frame1
- Caption = "
- Height = 612
- Left = 1920
- TabIndex = 3
- Top = 720
- Width = 2535
- Begin VB.OptionButton optDirection
- Caption = "
- (&D)"
- Height = 252
- Index = 1
- Left = 1320
- TabIndex = 5
- ToolTipText = "
- Top = 240
- Value = -1 'True
- Width = 1095
- End
- Begin VB.OptionButton optDirection
- Caption = "
- (&U)"
- Height = 252
- Index = 0
- Left = 240
- TabIndex = 4
- ToolTipText = "
- Top = 240
- Width = 1095
- End
- End
- Begin VB.CheckBox chkCase
- Caption = "
- (&C)"
- Height = 495
- Left = 120
- TabIndex = 2
- ToolTipText = "
- Top = 720
- Width = 1695
- End
- Begin VB.TextBox Text1
- BeginProperty Font
- Name = "
- Size = 9
- Charset = 134
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 500
- Left = 1680
- TabIndex = 1
- ToolTipText = "
- Top = 120
- Width = 2775
- End
- Begin VB.CommandButton cmdcancel
- Cancel = -1 'True
- Caption = "
- Height = 372
- Left = 4560
- TabIndex = 7
- ToolTipText = "
- Top = 600
- Width = 1092
- End
- Begin VB.CommandButton cmdFind
- Caption = "
- (&F)"
- Default = -1 'True
- Height = 372
- Left = 4560
- TabIndex = 6
- ToolTipText = "
- Top = 120
- Width = 1092
- End
- Begin VB.Label Label1
- Caption = "
- (&N):"
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 240
- Width = 1335
- End
- Attribute VB_Name = "frmFind"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- '***
- ***
- '***
- MDI
- ***
- '***
- gFindCase (
- ); ***
- '*** gFindString (
- ); ***
- '*** gFindDirection (
- ); ***
- '*** gFirstTime (
- ) ***
- '**************************************************
- Option Explicit
- 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()
- '
- gFirstTime = True
- '
- If Text1.Text = "" Then
- cmdFind.Enabled = False
- Else
- cmdFind.Enabled = True
- End If
- End Sub
-