Posted on

TUGAS 3 VB1

Gambar

 

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

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

Private Sub Chkstrike_Click()
If Chkstrike.Value = 1 Then
ibiteks.FontStrikethru = True
Else
ibiteks.FontStrikethru = False
End If
End Sub

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

Private Sub Command1_Click()
End
End Sub

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

Private Sub Optgreen_Click()
ibiteks.ForeColor = vbGreen
End Sub

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

Private Sub Optyellow_Click()
ibiteks.ForeColor = vbYellow
End Sub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s