VB Format Text

 FORMAT TEXT :-





CODE IS HERE:-



Private Sub optBlue_Click()
    lblMessage.ForeColor = vbBlue
End Sub

-----------------------------------------------------------------------

Private Sub optGreen_Click()
    lblMessage.ForeColor = vbGreen
End Sub
-----------------------------------------------------------------------

Private Sub Option1_Click()
Label1.ForeColor = vbGreen

End Sub
-----------------------------------------------------------------------

Private Sub optLarge_Click()
    lblMessage.FontSize = 22
End Sub
-----------------------------------------------------------------------

Private Sub optMedium_Click()
    lblMessage.FontSize = 16
End Sub
-----------------------------------------------------------------------

Private Sub optRed_Click()
    lblMessage.ForeColor = vbRed
End Sub
-----------------------------------------------------------------------

Private Sub optSmall_Click()
    lblMessage.FontSize = 12
End Sub

-----------------------------------------------------------------------

Comments

Popular posts from this blog

Computer Mcq Part 1 (1-50)

Computer MCQ Part 4 (151-200)

Computer MCQ Part 3 (101-150)