Hi Everyone...
below doesn't work! any ideas
so frustating!!!
If txtCompleted.Text = "Yes" Then
lblCompleted.DefaultForeColor.Red()
End If
ClickOnce and Setup & Deployment Projects
Hi Everyone...
below doesn't work! any ideas
so frustating!!!
If txtCompleted.Text = "Yes" Then
lblCompleted.DefaultForeColor.Red()
End If
Hi,
Please check following code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Me.TextBox1.Text = "yes" Then Me.Label1.ForeColor = Color.Blue End If End Sub
If you have any further questions, feel free to let me know.
Best Regards
Gavin
Thanks Gavin - just another similar question...
how do i make the label also BOLD..
i tried a few things along the above lines - but no such luck...
Thanks
Poy
Hi,you can try following code
Hope it helps
Gavin
thanks Gavin - unfortunately that font didn't change,
nevermind though, i'm happy with what i have now...
thanks for all your help!
Poy
Hi,Poy
I think there is something wrong in your code, if you want to make the text bold,check this for more information
http://msdn2.microsoft.com/en-us/library/system.drawing.font.aspx
Hope it helps
Gavin
Yeah for sure -- i didn't know the library existed !!
thanks Gavin -
appreciate the help
Poy