home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Houseplan Collection
/
HRCD2005.ISO
/
data1.cab
/
Zusatz
/
3DS
/
DATA2.Z
/
EinfachhausDetaildialog.frm
< prev
next >
Wrap
Text File
|
1998-03-11
|
18KB
|
546 lines
VERSION 5.00
Begin VB.Form EinfachhausDetaildialog
BackColor = &H00C0FFFF&
Caption = "Fertighauskatalog - Einfamilienhaus Konstruktionsdetails"
ClientHeight = 8820
ClientLeft = 1020
ClientTop = 1515
ClientWidth = 10335
Icon = "EinfachhausDetaildialog.frx":0000
LinkTopic = "Form1"
PaletteMode = 1 'ZReihenfolge
ScaleHeight = 8820
ScaleWidth = 10335
ShowInTaskbar = 0 'False
Begin VB.Frame Frame3
BackColor = &H00C0FFFF&
Caption = "Hausgr÷▀e:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2895
Left = 7920
TabIndex = 20
Top = 0
Width = 2295
Begin VB.TextBox Breite
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 240
TabIndex = 8
Text = "18"
Top = 2160
Width = 1935
End
Begin VB.TextBox Laenge
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 240
TabIndex = 7
Text = "13"
Top = 960
Width = 1935
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "Breite:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 22
Top = 1800
Width = 1815
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "LΣnge:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 21
Top = 600
Width = 1815
End
End
Begin VB.Frame Frame2
BackColor = &H00C0FFFF&
Caption = "Kammer:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1695
Left = 5160
TabIndex = 19
Top = 1920
Width = 2655
Begin VB.OptionButton Dunkelkammer
BackColor = &H00C0FFFF&
Caption = "Dunkelkammer"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 120
TabIndex = 6
Top = 1080
Width = 2425
End
Begin VB.OptionButton Voliere
BackColor = &H00C0FFFF&
Caption = "Vogelvoliere"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 120
TabIndex = 5
Top = 720
Width = 2295
End
Begin VB.OptionButton GaesteWC
BackColor = &H00C0FFFF&
Caption = "GΣstetoilette"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 120
TabIndex = 4
Top = 360
Value = -1 'True
Width = 2295
End
End
Begin VB.Frame Frame1
BackColor = &H00C0FFFF&
Caption = "Zimmer:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1695
Left = 5160
TabIndex = 18
Top = 0
Width = 2535
Begin VB.OptionButton Hobbyraum
BackColor = &H00C0FFFF&
Caption = "Hobbyraum"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 120
TabIndex = 3
Top = 1080
Width = 2055
End
Begin VB.OptionButton Buero
BackColor = &H00C0FFFF&
Caption = "Bⁿro"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 120
TabIndex = 2
Top = 720
Width = 1455
End
Begin VB.OptionButton Kinderzimmer
BackColor = &H00C0FFFF&
Caption = "Kinderzimmer"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 1
Top = 360
Value = -1 'True
Width = 2295
End
End
Begin VB.Line Line2
BorderColor = &H000000FF&
BorderWidth = 2
X1 = 840
X2 = 5160
Y1 = 3000
Y2 = 3000
End
Begin VB.Line Line1
BorderColor = &H000000FF&
BorderWidth = 2
X1 = 3000
X2 = 5160
Y1 = 1080
Y2 = 1080
End
Begin VB.Image Grundriss
Height = 3600
Left = 240
Picture = "EinfachhausDetaildialog.frx":0442
Top = 0
Width = 4800
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
BorderStyle = 1 'Fest Einfach
Caption = $"EinfachhausDetaildialog.frx":9AC4
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 240
TabIndex = 17
Top = 6600
Width = 9975
End
Begin VB.Label Label7
Alignment = 2 'Zentriert
BackColor = &H00FFFFC0&
BorderStyle = 1 'Fest Einfach
Caption = "min. 200 m▓"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2760
TabIndex = 16
Top = 5640
Width = 1695
End
Begin VB.Label Label6
Alignment = 2 'Zentriert
BackColor = &H0080FF80&
BorderStyle = 1 'Fest Einfach
Caption = "350.000,00 DM"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 6480
TabIndex = 15
Top = 5520
Width = 2535
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "Beschreibung:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 14
Top = 3720
Width = 1815
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "Besonderheiten:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 13
Top = 6240
Width = 2295
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "Preis:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 5160
TabIndex = 12
Top = 5640
Width = 1215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Empfohlene Grundstⁿcksgr÷▀e:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 240
TabIndex = 11
Top = 5400
Width = 2415
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = $"EinfachhausDetaildialog.frx":9CAF
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 240
TabIndex = 10
Top = 4080
Width = 9975
End
Begin VB.Image RightArrow
Height = 480
Left = 9840
Picture = "EinfachhausDetaildialog.frx":9E2A
Top = 8280
Width = 480
End
Begin VB.Label RightArrowLabel
Alignment = 1 'Rechts
BackStyle = 0 'Transparent
Caption = "Konstruktion ausfⁿhren"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 7440
TabIndex = 9
Top = 8400
Width = 2295
End
Begin VB.Line SepLine
X1 = 0
X2 = 10320
Y1 = 8280
Y2 = 8280
End
Begin VB.Image Arrow
Height = 480
Left = 20
Picture = "EinfachhausDetaildialog.frx":A26C
Top = 8280
Width = 480
End
Begin VB.Label ArrowLabel
BackStyle = 0 'Transparent
Caption = "Zurⁿck zur Informationsseite"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 555
TabIndex = 0
Top = 8400
Width = 2820
End
End
Attribute VB_Name = "EinfachhausDetaildialog"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Arrow_Click()
Unload Me
End Sub
Private Sub Form_Resize()
' Die Gr÷▀e des Formulars wurde geΣndert, wir mⁿssen
' die untere Leiste anpassen
SepLine.x1 = 0
SepLine.x2 = Width
SepLine.y1 = Height - 940
SepLine.y2 = SepLine.y1
ArrowLabel.Top = SepLine.y1 + 130
ArrowLabel.Left = 550
Arrow.Top = SepLine.y1 + 30
Arrow.Left = 20
RightArrowLabel.Top = SepLine.y1 + 130
RightArrowLabel.Left = Width - RightArrowLabel.Width - 750
RightArrow.Top = SepLine.y1 + 30
RightArrow.Left = Width - 645
End Sub
Private Sub Form_Unload(Cancel As Integer)
' Falls der Benutzer das modale Formular verschoben oder in der
' Gr÷▀e verΣndert hat, ⁿbernehmen wir diese ─nderungen jetzt.
Einfachhaus.WindowState = 0
Einfachhaus.Top = Top
Einfachhaus.Left = Left
Einfachhaus.Width = Width
Einfachhaus.Height = Height
Einfachhaus.Show
End Sub
Private Sub RightArrow_Click()
Dim kZimmer As Integer, kammer As Integer
' Erste Optionsgruppe auswerten
If Kinderzimmer.Value Then
kZimmer = 0
ElseIf Buero.Value Then
kZimmer = 1
ElseIf Hobbyraum.Value Then
kZimmer = 2
End If
' Zweite Optionsgruppe
If GaesteWC.Value Then
kammer = 0
ElseIf Voliere.Value Then
kammer = 1
ElseIf Dunkelkammer.Value Then
kammer = 2
End If
Visible = False
ErzeugeEinfachHaus kZimmer, kammer, CDbl(Laenge), Val(Breite)
TerminateAll
End Sub