Tugas Nama

TUGAS 4...
Private Sub ChkBold_Click()
Label2.FontBold = ChkBold.Value

End Sub

Private Sub ChkItalic_Click()
Label2.FontItalic = ChkItalic.Value

End Sub

Private Sub ChkUnderline_Click()
Label2.FontUnderline = ChkUnderline.Value

End Sub

Private Sub ChkStrikeout_Click()
Label2.FontStrikethru = ChkStrikeout.Value

End Sub

Private Sub Command1_Click()
Label2.Caption = Text1.Text

End Sub

Private Sub Command2_Click()
End

End Sub

Private Sub Optbiru_Click()
Label2.ForeColor = vbBlue

End Sub

Private Sub Optmerah_Click()
Label2.ForeColor = vbRed

End Sub

Private Sub Opthijau_Click()
Label2.ForeColor = vbGreen

End Sub

Private Sub Optkuning_Click()
Label2.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