VERSION 5.00
Begin VB.Form Form6 
   Caption         =   "Form6"
   ClientHeight    =   285
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4305
   Icon            =   "Form6.frx":0000
   LinkTopic       =   "Form6"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   285
   ScaleWidth      =   4305
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox Text1 
      Height          =   285
      Left            =   720
      TabIndex        =   1
      Top             =   0
      Width           =   2655
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Go"
      Height          =   255
      Left            =   3480
      TabIndex        =   0
      Top             =   0
      Width           =   735
   End
   Begin VB.Label Label1 
      Caption         =   "Label"
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   0
      Width           =   495
   End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.Text1.SetFocus

Form1.gotoline (variable(Text1.text) - 1)
Form1.highlightline (variable(Text1.text) - 1)

Form6.Hide

End Sub

Private Sub Form_GotFocus()
Text1.SetFocus

Text1.SelStart = 0
Text1.SelLength = Len(Text1.text)
End Sub

Private Sub Text1_Change()
If KeyCode = 13 Then
Form1.Text1.SetFocus

Form1.gotoline (variable(Text1.text) - 1)
Form1.highlightline (variable(Text1.text) - 1)
Form6.Hide
End If
End Sub
