Gambar. Pada Saat Aplikas Runtime
Berikut adalah Source Code aplikasi tersebut :
Private Sub Check1_Click()
Label2.FontBold = Check1.Value
End Sub
--------------------------------------------------------
Private Sub Check2_Click()
Label2.FontItalic = Check2.Value
End Sub
--------------------------------------------------------
Private Sub Check3_Click()
Label2.FontUnderline = Check3.Value
End Sub
--------------------------------------------------------
Private Sub Check4_Click()
Label2.FontStrikethru = Check4.Value
End Sub
--------------------------------------------------------
Private Sub Command1_Click()
Label2.Caption = Text1.Text
End Sub
--------------------------------------------------------
Private Sub Command2_Click()
End
End Sub
--------------------------------------------------------
Private Sub Option1_Click()
Label2.ForeColor = vbRed
End Sub
--------------------------------------------------------
Private Sub Option2_Click()
Label2.ForeColor = vbBlue
End Sub
--------------------------------------------------------
Private Sub Option3_Click()
Label2.ForeColor = vbGreen
End Sub
--------------------------------------------------------
Private Sub Option4_Click()
Label2.ForeColor = vbYellow
End Sub
0 Response to "Tugas 2.6 Membuat Pilihan Font Color dan Font Style ( Memasukkan Teks Pada Inputan Kemudian Tampil di Label )"
Posting Komentar