Hello
Im having an issue with colordialog. I want to click a color and have the rgb values returned. I expect each should return a value of 0-255. However it only ever returns 0 32 64 128 or 255. any ideas?
Private Sub btnColor1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnColor1.Click
If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
txtCol1.BackColor = ColorDialog1.Color
txtCol1.Text = txtCol1.BackColor.B
End If
End Sub 'button1_Click