About

Website Dalam Masa Perbaikan

SELAMAT MENIKMATI ILMU YANG BERMANFAAT

Pages

Rabu, 22 Oktober 2014

Belajar Vb6 Untuk Pemula

VB6 Untuk Pemula







Private Sub Check1_Click()
If Check1.Value = 1 Then
Label2.FontBold = True
Else
Label2.FontBold = False
End If
End Sub

Private Sub Check2_Click()
If Check2.Value = 1 Then
Label2.FontItalic = True
Else
Label2.FontItalic = False
End If
End Sub

Private Sub Check3_Click()
If Check3.Value = 1 Then
Label2.FontUnderline = True
Else
Label2.FontUnderline = False
End If
End Sub

Private Sub Check4_Click()
If Check4.Value = 1 Then
Label2.FontStrikethru = True

Else
Label2.FontStrikethru = False
End If
End Sub

Private Sub Command1_Click()
Label2.Caption = Text1.Text
Label2.ForeColor = vbGreen
End Sub

Private Sub Command2_Click()
End
End Sub

Private Sub Option1_Click()
Label2.ForeColor = vbBlue
End Sub

Private Sub Option2_Click()
Label2.ForeColor = vbRed
Label2.BackColor = vbBlack
End Sub


















0 komentar:

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger