home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
INSURE2.ZIP
/
REPORT.FRM
< prev
next >
Wrap
Text File
|
1993-07-22
|
4KB
|
137 lines
VERSION 2.00
Begin Form Report
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "Report"
ClientHeight = 5475
ClientLeft = 1245
ClientTop = 1605
ClientWidth = 6300
ControlBox = 0 'False
Height = 5880
Left = 1185
LinkMode = 1 'Source
LinkTopic = "Form4"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5475
ScaleWidth = 6300
Top = 1260
Width = 6420
Begin SSPanel Panel3D1
Alignment = 7 'Center - MIDDLE
AutoSize = 0 'None
BackColor = &H00C0C0C0&
BevelInner = 1 'Inset
BevelOuter = 0 'None
BevelWidth = 3
BorderWidth = 3
FloodColor = &H00FF0000&
FloodShowPct = -1 'True
FloodType = 0 'None
Font3D = 2 'Raised w/heavy shading
ForeColor = &H00000000&
Height = 1155
Left = 2505
Outline = 0 'False
RoundedCorners = -1 'True
ShadowColor = 0 'Dark Grey
TabIndex = 0
Top = 5730
Width = 4335
Begin SSCommand Command3D1
AutoSize = 0 'None
BevelWidth = 2
Caption = "Finished - Exit"
Font3D = 3 'Inset w/light shading
ForeColor = &H00000000&
Height = 855
Left = 2250
Outline = -1 'True
Picture = REPORT.FRX:0000
RoundedCorners = -1 'True
TabIndex = 2
Top = 165
Width = 1875
End
Begin SSCommand Command3D3
AutoSize = 0 'None
BevelWidth = 2
Caption = "Return to Main Form"
Font3D = 3 'Inset w/light shading
ForeColor = &H00000000&
Height = 855
Left = 255
Outline = -1 'True
Picture = REPORT.FRX:0302
RoundedCorners = -1 'True
TabIndex = 1
Top = 165
Width = 1875
End
End
Begin SSPanel Panel3D2
Alignment = 7 'Center - MIDDLE
AutoSize = 0 'None
BackColor = &H00C0C0C0&
BevelInner = 1 'Inset
BevelOuter = 0 'None
BevelWidth = 3
BorderWidth = 3
Caption = "Report/Analysis"
FloodColor = &H00FF0000&
FloodShowPct = -1 'True
FloodType = 0 'None
Font3D = 2 'Raised w/heavy shading
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 510
Left = 3045
Outline = 0 'False
RoundedCorners = -1 'True
ShadowColor = 0 'Dark Grey
TabIndex = 3
Top = 75
Width = 3375
End
End
Sub Command3D1_Click ()
End
End Sub
Sub Command3D3_Click ()
form1.Show
report.Hide
End Sub
Sub Form_Load ()
report.WindowState = 2
End Sub
Sub Form_Paint ()
report.Cls
report.CurrentY = 1000
report.FontSize = 13.5
If form1.Option3D5.Value = -1 Then
title$ = "Mr. "
Else title$ = "Ms. "
End If
report.Print "Name: "; title$ + form1.BEdit1.Text
report.Print "Marital Status: "; status$
report.Print "Policy Number: 00283-A"
report.Print "Date of Birth: " + form1.BEdit5.Text + "/" + form1.BEdit2.Text + "/" + form1.BEdit3.Text
report.Print "Occupation: "; form1.HEdit2.Text
report.Print "State of Birth: "; form1.Combo1.Text
report.Print "State of Residence: "; form1.Combo2.Text
report.Print "Type of Policy: "; form1.Combo3.Text
report.Print "Amount to Insure: "; "$" + form1.BEdit7.Text + "," + form1.BEdit8.Text
End Sub