TUGAS2_5
Private Sub chkb_Click()
If chkb.Value = 1 Then
lbl1.FontBold = True
Else
lbl1.FontBold = False
End If
End Sub
Private Sub chki_Click()
If chki.Value = 1 Then
lbl1.FontItalic = True
Else
lbl1.FontItalic = False
End If
End Sub
Private Sub chks_Click()
If chks.Value = 1 Then
lbl1.FontStrikethru = True
Else
lbl1.FontStrikethru = False
End If
End Sub
Private Sub chku_Click()
If chku.Value = 1 Then
lbl1.FontUnderline = True
Else
lbl1.FontUnderline = False
End If
End Sub
Private Sub opnb_Click()
lbl1.ForeColor = vbBlue
End Sub
Private Sub opng_Click()
lbl1.ForeColor = vbGreen
End Sub
'17100030-FADLIHIDAYAT
Private Sub opnr_Click()
lbl1.ForeColor = vbRed
End Sub
Private Sub opny_Click()
lbl1.ForeColor = vbYellow
End Sub
Private Sub QUIT_Click()
Unload Me
End Sub
If chkb.Value = 1 Then
lbl1.FontBold = True
Else
lbl1.FontBold = False
End If
End Sub
Private Sub chki_Click()
If chki.Value = 1 Then
lbl1.FontItalic = True
Else
lbl1.FontItalic = False
End If
End Sub
Private Sub chks_Click()
If chks.Value = 1 Then
lbl1.FontStrikethru = True
Else
lbl1.FontStrikethru = False
End If
End Sub
Private Sub chku_Click()
If chku.Value = 1 Then
lbl1.FontUnderline = True
Else
lbl1.FontUnderline = False
End If
End Sub
Private Sub opnb_Click()
lbl1.ForeColor = vbBlue
End Sub
Private Sub opng_Click()
lbl1.ForeColor = vbGreen
End Sub
'17100030-FADLIHIDAYAT
Private Sub opnr_Click()
lbl1.ForeColor = vbRed
End Sub
Private Sub opny_Click()
lbl1.ForeColor = vbYellow
End Sub
Private Sub QUIT_Click()
Unload Me
End Sub
Komentar
Posting Komentar