Private Sub Command1_Click()Randomizea = Int(Rnd * 2)If a = 0 ThenImage1.Visible = TrueImage2.Visible = FalseIf Option1.Value = True Then MsgBox "Temakan jitu", , "pesan"Label4.Caption = Val(Label4.Caption) + 1ElseMsgBox "salah", , "salah"End Ifif a = 0 thenImage1.Visible = FalseImage2.Visible = TrueIf Option2.Value = True Then MsgBox "tebakan jitu", , "pesan"Label5.Caption = Val(Label5.Caption) + 1ElseMsgBox "salah", , "salah"End IfEnd Sub
ERROR? JGN PROTES ! BILA ERROR COBA PERBAIKI SENDIRI !!!
Tidak ada komentar:
Posting Komentar