at first, the code:
Dim ColorDialog As New ColorDialog()
Dim Color As Color
Color = Drawing.Color.FromArgb(0, 0, 0, 255)
ColorDialog.CustomColors() = _
New Integer() {lColor.ToArgb}
ColorDialog.ShowDialog()
The shown color is red but it should be blue.
Using
lColor = Drawing.Color.FromArgb(0, 255, 0, 0)
shows a blue color, although it should be red.
What do I do wrong?
Armin
I see the same problem. It looks like maybe CustomColors has the bytes
flipped from the order returned by ToArgb.
==============
Clay Burch
Syncfusion, Inc.
Visit www.syncfusion.com to download a free trial of Essential Suite
"Armin Zingler" <willkein...@freenet.de> wrote in message
news:edSsTgRUCHA.1864@tkmsftngp12...