MODIFIED SOURCE CODE FOR ERRORS.FRM
Made on Tuesday, Apr 8, 2003 at 9:43 AM
Option Explicit
'>>>>>>>>>>>>>>>>>>>>>>>>
'ResMe Converted To A Property: Const FORMCAPTION = "Errors"
'ResMe Converted To A Property: Const BUTTON1 = "&Refresh"
'ResMe Converted To A Property: Const BUTTON2 = "&Close"
'>>>>>>>>>>>>>>>>>>>>>>>>
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub cmdRefresh_Click()
RefreshErrors
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF1 And Shift = 0 Then
DisplayTopic 2016081
End If
End Sub
Private Sub Form_Load()
'ResMe autogenerated line of code to call the initialization routine that was automatically generated.
Call frmErrors_Auto_Init
On Error GoTo LErr
Me.Caption = FORMCAPTION
cmdRefresh.Caption = BUTTON1
cmdClose.Caption = BUTTON2
Me.Height = 3105
Me.Width = 6750
Me.Top = 1000
Me.Left = 1000
Screen.MousePointer = vbDefault
Exit Sub
LErr:
ShowError
Unload Me
End Sub
Private Sub Form_Resize()
On Error Resume Next
If Me.WindowState = 1 Then Exit Sub
lstErrors.Width = Me.ScaleWidth - (lstErrors.Left * 2)
lstErrors.Height = Me.Height - 970
End Sub
'*********************************************************************************
'** This Section Of Code Was Automatically Generated By ResMe **
'** **
'** String assignments to Constants have been converted to read-only properties **
'*********************************************************************************
'This was: Const FORMCAPTION = "Errors"
Property Get FORMCAPTION As String
'WAS: FORMCAPTION = "Errors"
FORMCAPTION = LoadResString(S210_Errors)
End Property
'This was: Const BUTTON1 = "&Refresh"
Property Get BUTTON1 As String
'WAS: BUTTON1 = "&Refresh"
BUTTON1 = LoadResString(S441_Refresh)
End Property
'This was: Const BUTTON2 = "&Close"
Property Get BUTTON2 As String
'WAS: BUTTON2 = "&Close"
BUTTON2 = LoadResString(S94_Close)
End Property
Private Sub frmErrors_Auto_Init()
'This routine initializes all User Interface control properties on frmErrors.
'This section of code was automatically generated by the ResMe String Extraction Utility.
'WAS: Me.Caption = "Errors"
Me.Caption = LoadResString(S210_Errors)
'WAS: cmdClose.Caption = "&Close"
cmdClose.Caption = LoadResString(S94_Close)
'WAS: cmdRefresh.Caption = "&Refresh"
cmdRefresh.Caption = LoadResString(S441_Refresh)
End Sub