home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm7_1_6
- Caption = "Last Three Chief Justices"
- ClientHeight = 960
- ClientLeft = 2208
- ClientTop = 2316
- ClientWidth = 3924
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 7.8
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 960
- ScaleWidth = 3924
- Begin VB.CommandButton cmdShow
- Caption = "&Show Chief Justices"
- Height = 495
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 1695
- End
- Begin VB.PictureBox picOutput
- Height = 735
- Left = 1920
- ScaleHeight = 684
- ScaleWidth = 1764
- TabIndex = 0
- Top = 120
- Width = 1812
- End
- Attribute VB_Name = "frm7_1_6"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- 'Create array to hold three strings.
- Dim chiefJustice(13 To 15) As String
- Private Sub cmdShow_Click()
- Dim i As Integer
- 'Display Chief Justices
- For i = 13 To 15
- picOutput.Print chiefJustice(i)
- Next i
- End Sub
- Private Sub Form_Load()
- 'Fill array with names of Chief Justices
- chiefJustice(13) = "Earl Warren"
- chiefJustice(14) = "Warren Burger"
- chiefJustice(15) = "William Rehnquist"
- End Sub
-