This is my 'attemp' to write the 'H' 'e' of Hello world in different colors in the text box.The 'Button' in the Form when pressed outputs the text 'He'.
Is this remotely close or am I heading North......again
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim First As String
Dim second As String
Dim Third As String
Dim value As Color
value = Color.Red
First = "H"
value = Color.Blue
second = "e"
Third = First & second
TextBox1.Text = Third
End Sub
End Class
I think I needed to add somehow/somewhere to get the colors to work/change:
Code:
Public Shared ReadOnly Property Red As Color
My brother_in_law used to have a Mustang (V8) I was about 14 when he had it. I'm not sure if I liked the looks or the sound the best
Dave
Bookmarks