GRAB - THE - CODES
DISCOVER THE FIELD OF IT STUDENT
Thursday, September 22, 2011
Wednesday, September 30, 2009
Tuesday, September 15, 2009
Wednesday, September 9, 2009
Tuesday, August 4, 2009
EXERCISE 2: "THE LUCKY SEVEN WITH MENU EDITOR"
Dim RGBValue As Integer
Private Sub cmdT1_Click()
COINS1.Visible = False
lblT1.Caption = Int(Rnd * 10)
LBLT2.Caption = Int(Rnd * 10)
LBLT3.Caption = Int(Rnd * 10)
If (lblT1.Caption = 7) Or (LBLT2.Caption = 7) Or (LBLT3.Caption = 7) Then
COINS1.Visible = True
Beep
End If
End Sub
Private Sub cmdT2_Click()
End
End Sub
Private Sub Form_Load()
Label3.Caption = Date
Label4.Caption = Time
End Sub
Private Sub mnuAuthor_Click()
FRM3.Show
FRM2.Hide
End Sub
Private Sub mnuBlue_Click()
FRM2.BackColor = RGB(10, 10, 150)
End Sub
Private Sub mnuClose_Click()
End
End Sub
Private Sub mnuGreen_Click()
FRM2.BackColor = RGB(10, 150, 10)
End Sub
Private Sub Label1_DblClick()
FRM3.Hide
FRM2.Show
End Sub
Private Sub mnuOrange_Click()
FRM2.BackColor = RGB(255, 121, 0)
End Sub
Private Sub mnuPink_Click()
FRM2.BackColor = RGB(255, 201, 255)
End Sub
Private Sub mnuRed_Click()
FRM2.BackColor = RGB(255, 0, 0)
End Sub
Private Sub mnuViolet_Click()
FRM2.BackColor = RGB(99, 0, 86)
End Sub
Private Sub mnuYellow_Click()
FRM2.BackColor = RGB(255, 255, 0)
End Sub
Private Sub Label1_DblClick()
FRM3.Hide
FRM2.Show
End Sub
Private Sub cmdT1_Click()
COINS1.Visible = False
lblT1.Caption = Int(Rnd * 10)
LBLT2.Caption = Int(Rnd * 10)
LBLT3.Caption = Int(Rnd * 10)
If (lblT1.Caption = 7) Or (LBLT2.Caption = 7) Or (LBLT3.Caption = 7) Then
COINS1.Visible = True
Beep
End If
End Sub
Private Sub cmdT2_Click()
End
End Sub
Private Sub Form_Load()
Label3.Caption = Date
Label4.Caption = Time
End Sub
Private Sub mnuAuthor_Click()
FRM3.Show
FRM2.Hide
End Sub
Private Sub mnuBlue_Click()
FRM2.BackColor = RGB(10, 10, 150)
End Sub
Private Sub mnuClose_Click()
End
End Sub
Private Sub mnuGreen_Click()
FRM2.BackColor = RGB(10, 150, 10)
End Sub
Private Sub Label1_DblClick()
FRM3.Hide
FRM2.Show
End Sub
Private Sub mnuOrange_Click()
FRM2.BackColor = RGB(255, 121, 0)
End Sub
Private Sub mnuPink_Click()
FRM2.BackColor = RGB(255, 201, 255)
End Sub
Private Sub mnuRed_Click()
FRM2.BackColor = RGB(255, 0, 0)
End Sub
Private Sub mnuViolet_Click()
FRM2.BackColor = RGB(99, 0, 86)
End Sub
Private Sub mnuYellow_Click()
FRM2.BackColor = RGB(255, 255, 0)
End Sub
Private Sub Label1_DblClick()
FRM3.Hide
FRM2.Show
End Sub
Subscribe to:
Posts (Atom)
Get One At - Friendster Comments
Get One At - Friendster Comments