Alan
That solves GetHue() because Cast(loColor.GetHue() As Integer gives a
result of 0, but what about DarkGray GetBrightness returning 38174 ?
Also DarkSalmon RGB(233,150,122) is returning:
R = 0
G = 0
B = 0
Cast(GetHue() As Integer) = 0
Cast(GetSaturation() As Integer) = 0
Cast(GetBrightnes(
Try Cast(loColor.GetHue() as Integer) or Cast(loColor.GetHue() as Numeric(12,
2)) ...
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profo
Hi all
When I try this:
loColor = _Screen.System.Drawing.Color.DarkGray
? loColor.GetHue()
? loColor.GetSaturation()
? loColor.GetBrightness()
The result is
*** (numeric overflow)
0
38174
A similar problem exists with other colours where R=G=B
Any ideas? Thanks.
Paul Newton
3 matches
Mail list logo