Tugas FONT COLOR DAN FONT STYLE

TUGAS 1

Private Sub ChkBold_Click()
If ChkBold.Value = 1 Then
lbljudul.FontBold = True
Else
lbljudul.FontBold = False
End If

End Sub

Private Sub ChkItalic_Click()
If ChkItalic.Value = 1 Then
lbljudul.FontItalic = True
Else
lbljudul.FontItalic = False
End If

End Sub

Private Sub ChkStrikeout_Click()
If ChkStrikeout.Value = 1 Then
lbljudul.FontStrikethru = True
Else
lbljudul.FontStrikethru = False
End If

End Sub

Private Sub ChkUnderline_Click()
If ChkUnderline.Value = 1 Then
lbljudul.FontUnderline = True
Else
lbljudul.FontUnderline = False
End If

End Sub

Private Sub CmdExit_Click()
End

End Sub

Private Sub optBlue_Click()
lbljudul.ForeColor = vbBlue

End Sub

Private Sub OptGreen_Click()
lbljudul.ForeColor = vbGreen

End Sub

Private Sub OptRed_Click()
lbljudul.ForeColor = vbRed

End Sub

Private Sub OptYellow_Click()
lbljudul.ForeColor = vbYellow

End Sub

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s