VERSION 5.00
Begin VB.Form frmCommsOutput 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Communications Test Progress"
   ClientHeight    =   4260
   ClientLeft      =   3615
   ClientTop       =   2055
   ClientWidth     =   6585
   Icon            =   "frmCommsOutput.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4260
   ScaleWidth      =   6585
   Begin VB.ListBox lstLog 
      Height          =   4155
      Left            =   45
      TabIndex        =   0
      Top             =   45
      Width           =   6465
   End
End
Attribute VB_Name = "frmCommsOutput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Public Sub AddLog(ByRef sText As String)

    lstLog.AddItem sText
    
    '
    ' Make sure that the log dosn't get too big
    If lstLog.ListCount > 500 Then
        lstLog.RemoveItem 0
    End If
    
    '
    ' We always want to make sure we can see the last entry added
    lstLog.TopIndex = lstLog.ListCount - 1
    
End Sub

Private Sub Form_Load()

    lstLog.Clear
    
End Sub


Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

    frmTestComms.Terminate = True
    
End Sub


