I'm trying to display the color dialog box to change the color of text in a label.
Using this code...
I get an error that dlgColor isn't declared. What am I doing wrong?
Using this code...
Private Sub mnuColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuColor.Click
With dlgColor
.showDialog()
lblTotalPay.ForeColor = .color
End With
End Sub
I get an error that dlgColor isn't declared. What am I doing wrong?