laatzen/Pruef2000/source/frmMuster.frm
2021-10-01 11:11:04 +02:00

122 lines
3.3 KiB
Plaintext

VERSION 5.00
Begin VB.Form FMuster
BorderStyle = 0 'Kein
Caption = "Pruef2000"
ClientHeight = 10230
ClientLeft = 0
ClientTop = 0
ClientWidth = 12960
LinkTopic = "Form1"
ScaleHeight = 10230
ScaleWidth = 12960
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows-Standard
Begin VB.Frame frMain
Height = 8535
Left = 0
TabIndex = 0
Top = 360
Width = 12015
Begin VB.CommandButton cmdCancel
Caption = "Zurück"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 9840
TabIndex = 3
Top = 7300
Width = 1935
End
Begin VB.CommandButton cmdOK
Caption = "OK"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7800
TabIndex = 2
Top = 7300
Width = 1935
End
End
Begin VB.Label lblTitle
Caption = "Dies ist die Überschrift"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 0
TabIndex = 1
Top = 0
Width = 12015
End
End
Attribute VB_Name = "FMuster"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
' Private Member
' --------------
Private m_nRet As Integer
' @return Code, mit dem endDialog aufgerufen wurde
'
Public Function getExitCode() As Integer
getExitCode = m_nRet
End Function
'------------------------------------------------------------------------------
' Private Funktionalität
'------------------------------------------------------------------------------
' Dialog beenden
'
' @param nRet Returncode des Dialogs
'
Private Sub endDialog(nRet As Integer)
m_nRet = nRet
Unload Me
End Sub
'------------------------------------------------------------------------------
' Event-Handling
'------------------------------------------------------------------------------
Private Sub Form_Load()
Call setupStdDlg(Me)
End Sub
Private Sub cmdOk_Click()
Call endDialog(IDOK)
End Sub
Private Sub cmdCancel_Click()
Call endDialog(IDCANCEL)
End Sub