Re: Color data type

Ivanoff, Alex <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <2126886003-1178047858-cardhu_blackberry.rim.net-1143553815-@bwe011-cell00.bisx.prod.on.blackberry>
Color.Empty


Sent via BlackBerry from Cingular Wireless  

-----Original Message-----
From:         Peter Osucha <[email protected]>
Date:         Tue, 1 May 2007 15:11:04 
To:[email protected]
Subject: [DOTNET-WINFORMS] Color data type

Hello,

 

So it seems that the Color data type is a value type (which surprises
me).  

 

I would like to be able to set a Color variable to null (essentially,
the variable would indicate that no color has been assigned).  Is there
a way to do this?  I can't set the color to 0 (= Black).  I guess I
could choose '-1' - I don't think that represents a system color.
However, perhaps there is a better way?

 

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.