RSS

Tugas 1

FONT COLOR

Private Sub Chkbold_Click()
If Chkbold.Value = 1 Then
Label1.FontBold = True
Else
Label1.FontBold = False
End If
End Sub

Private Sub Chkitalic_Click()
If Chkitalic.Value = 1 Then
Label1.FontItalic = True
Else
l.FontItalic = False
End If
End Sub

Private Sub Chkstrikeout_Click()
If Chkstrikeout.Value = 1 Then
Label1.FontStrikethru = True
Else
Label1.FontStrikethru = False
End If
End Sub

Private Sub Chkunderline_Click()
If Chkunderline.Value = 1 Then
Label1.FontUnderline = True
Else
Label1.FontUnderline = False
End If
End Sub
Private Sub Comdexit_Click()
End
End Sub

Private Sub Optblue_Click()
Label1.ForeColor = vbBlue
End Sub

Private Sub Optgrenn_Click()
Label1.ForeColor = vbGreen
End Sub

Private Sub Optred_Click()
Label1.ForeColor = vbRed
End Sub

Private Sub Optyellow_Click()
Label1.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 )

Gambar Twitter

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

Foto Facebook

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

Foto Google+

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

Connecting to %s

 
%d blogger menyukai ini: