R
Radith Silva
I have the following code:
Private Sub Bold(ByVal sender As Object, ByVal e As System.EventArgs)
Handles mnuFileBold.Click
If mnuFileBold.Checked = True Then
mnuFileBold.Checked = False
ElseIf mnuFileBold.Checked = False Then
mnuFileBold.Checked = True
End If
If mnuFileBold.Checked = True Then
Label1.Text = "Radeesha Silva"
Else
Label1.Text = "Radith Silva"
End If
End Sub
Instead of Changing the Text of the Label I want to make the original
text of the label to appear in Bold. I have tried 'Label1.Font.Bold' but
that returns the error 'Property access must assign to the property or
use its value.'
All replies welcome
Thanx. Radith Silva
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Private Sub Bold(ByVal sender As Object, ByVal e As System.EventArgs)
Handles mnuFileBold.Click
If mnuFileBold.Checked = True Then
mnuFileBold.Checked = False
ElseIf mnuFileBold.Checked = False Then
mnuFileBold.Checked = True
End If
If mnuFileBold.Checked = True Then
Label1.Text = "Radeesha Silva"
Else
Label1.Text = "Radith Silva"
End If
End Sub
Instead of Changing the Text of the Label I want to make the original
text of the label to appear in Bold. I have tried 'Label1.Font.Bold' but
that returns the error 'Property access must assign to the property or
use its value.'
All replies welcome
Thanx. Radith Silva
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!