VERSION 5.00 Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx" Begin VB.Form frmMeldung Caption = "Pruef2000" ClientHeight = 6945 ClientLeft = 60 ClientTop = 345 ClientWidth = 9690 ControlBox = 0 'False LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 6945 ScaleWidth = 9690 StartUpPosition = 2 'Bildschirmmitte Begin VB.CommandButton cmdCopy Caption = "Copy" Default = -1 'True Height = 345 Left = 8790 TabIndex = 5 Top = 5220 Width = 765 End Begin MSComctlLib.StatusBar StatusBar1 Align = 2 'Unten ausrichten Height = 255 Left = 0 TabIndex = 3 Top = 6690 Width = 9690 _ExtentX = 17092 _ExtentY = 450 Style = 1 _Version = 393216 BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} NumPanels = 1 BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} EndProperty EndProperty End Begin VB.CommandButton cmdExit Caption = "Programm abbrechen" Height = 315 Left = 3780 TabIndex = 2 Top = 5310 Width = 1875 End Begin VB.CommandButton cmdIgnore Caption = "Ignorieren" Height = 555 Left = 3780 TabIndex = 1 Top = 5790 Width = 1875 End Begin VB.Timer TimeoutTimer Left = 6300 Top = 5550 End Begin VB.Label lblDateTime Height = 975 Left = 120 TabIndex = 4 Top = 5340 Width = 3015 End Begin VB.Label lblMsg Alignment = 2 'Zentriert BackStyle = 0 'Transparent BorderStyle = 1 'Fest Einfach Caption = "ABC..." BeginProperty Font Name = "MS Sans Serif" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 5055 Left = 120 TabIndex = 0 Top = 120 Width = 9435 End End Attribute VB_Name = "frmMeldung" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Public Timeout As Integer Private Sub cmdCopy_Click() Clipboard.Clear Clipboard.SetText lblMsg.Caption End Sub Private Sub cmdIgnore_Click() Unload Me End Sub Private Sub cmdExit_Click() WriteToLog "Programm-Abbruch durch Benutzer im Meldungs-Fenster" Dim SPS As CSPS Set SPS = g_App.getSPS ' SPS.QuitProTool Unload Me Call CleanUpEnd End Sub Private Sub Form_Load() Me.Icon = frmRes.Icon lblDateTime.Caption = Now() If Timeout = 0 Then TimeoutTimer.Enabled = False Else StatusBar1.SimpleText = Timeout End If End Sub Private Sub TimeOutTimer_Timer() Timeout = Timeout - 1 StatusBar1.SimpleText = Timeout If Timeout <= 0 Then Unload Me End If End Sub