I'm having some problems with a text editor im creating.
Im calling the Colour Dialog to change the selected text to an a Colour of the users choice.
The problem im getting is that vb aint liking "cdColour.Color" it says;
Value of type 'System.Drawing.Color' cannot be converted to 'String'
My code Follows as
Private Sub mnuColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuColor.Click
cdColour.ShowDialog()
txtDisplay.SelectedText() = cdColour.Color
End Sub
If anyone could help, would be great help for me
Thanks James
Im calling the Colour Dialog to change the selected text to an a Colour of the users choice.
The problem im getting is that vb aint liking "cdColour.Color" it says;
Value of type 'System.Drawing.Color' cannot be converted to 'String'
My code Follows as
Private Sub mnuColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuColor.Click
cdColour.ShowDialog()
txtDisplay.SelectedText() = cdColour.Color
End Sub
If anyone could help, would be great help for me
Thanks James