home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / PROGRAMS / CH3 / 3-5-5.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-09-19  |  1.8 KB  |  55 lines

  1. VERSION 5.00
  2. Begin VB.Form frm3_5_5 
  3.    Caption         =   "3-5-5"
  4.    ClientHeight    =   2988
  5.    ClientLeft      =   1092
  6.    ClientTop       =   1488
  7.    ClientWidth     =   6420
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   7.8
  11.       Charset         =   0
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    LinkTopic       =   "Form1"
  18.    PaletteMode     =   1  'UseZOrder
  19.    ScaleHeight     =   2988
  20.    ScaleWidth      =   6420
  21.    Begin VB.PictureBox picTable 
  22.       Height          =   1935
  23.       Left            =   120
  24.       ScaleHeight     =   1884
  25.       ScaleWidth      =   6084
  26.       TabIndex        =   1
  27.       Top             =   720
  28.       Width           =   6132
  29.    End
  30.    Begin VB.CommandButton cmdDisplay 
  31.       Caption         =   "Display Table"
  32.       Height          =   495
  33.       Left            =   1680
  34.       TabIndex        =   0
  35.       Top             =   120
  36.       Width           =   2895
  37.    End
  38. Attribute VB_Name = "frm3_5_5"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = False
  41. Attribute VB_PredeclaredId = True
  42. Attribute VB_Exposed = False
  43. Private Sub cmdDisplay_Click()
  44.   picTable.Cls
  45.   picTable.Print " ", "Pb 2-yr", "Pr 2-yr", "Pb 4-yr", "Pr 4-yr"
  46.   picTable.Print
  47.   picTable.Print "Tuit & Fees", 1387, 6350, 2860, 12432
  48.   picTable.Print "Bks & Suppl", 577, 567, 591, 601
  49.   picTable.Print "Board", 1752, 1796, 1721, 1845
  50.   picTable.Print "Trans", 894, 902, 929, 863
  51.   picTable.Print "Other Exp", 1142, 1220, 1348, 1169
  52.   picTable.Print " ", "----------", "----------", "----------", "----------"
  53.   picTable.Print "Total", 5752, 10835, 7449, 16910
  54. End Sub
  55.