home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm5_2_4
- Caption = "Quotation"
- ClientHeight = 1575
- ClientLeft = 1320
- ClientTop = 2115
- ClientWidth = 4815
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1575
- ScaleWidth = 4815
- Begin VB.TextBox txtAnswer
- Height = 285
- Left = 4440
- TabIndex = 3
- Top = 120
- Width = 255
- End
- Begin VB.PictureBox picQuote
- Height = 375
- Left = 240
- ScaleHeight = 315
- ScaleWidth = 4275
- TabIndex = 2
- Top = 1080
- Width = 4335
- End
- Begin VB.CommandButton cmdDisplay
- Caption = "Display Quotation"
- Height = 495
- Left = 240
- TabIndex = 1
- Top = 480
- Width = 4335
- End
- Begin VB.Label lblQuestion
- Caption = "Do you know what the game of skittles is (Y/N)?"
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 4215
- End
- Attribute VB_Name = "frm5_2_4"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplay_Click()
- Dim message As String
- message = "Skittles is an old form of bowling in which a wooden" & _
- " disk is used to knock down nine pins in a square."
- If UCase(txtAnswer.Text) = "N" Then
- MsgBox message, , ""
- End If
- picQuote.Cls
- picQuote.Print "Life ain't all beer and skittles.";
- picQuote.Print " - Du Maurier (1894)"
- End Sub
-