IF obj.backcolor = color.red then
but this gets a compile error saying:
Operator '=' is not defined for types 'System.Drawing.Color' and
'System.Drawing.Color'.
how can I determin if obj.backcolor is actually color.red?
Thanks.
--
George Padvorac
geo...@dontspamme-nwis.net
Dim clr As Color
clr = Me.BackColor
Dim bEqual As Boolean = clr.Equals(Color.Red)
Ken
-------------------
"George Padvorac" <geo...@nwis.net> wrote in message
news:OyMgsrRJ...@TK2MSFTNGP11.phx.gbl...
--
George Padvorac
geo...@dontspamme-nwis.net
"Ken Tucker" <vb...@bellsouth.net> wrote in message
news:ONOvZwRJ...@TK2MSFTNGP11.phx.gbl...