Title: RE: MI select by color attribute

Hi Jane,

Use the condition Str$(ObjectInfo(Obj,3))="Brush(a,b,c)" where "a" is the code for the fill pattern, "b" is the code for the fill colour and "c" is the code for the background colour.

It makes it easier if you create a new column and update it with
"Str$ (ObjectInfo(Obj,2))"
This lets you see the right code numbers to use in your search. eg "Brush (4, 16711680, 255)" is the code for (vertical line fill,red foreground,blue background)

Hope this helps,
Andrew Young
Durham City Council

-----Original Message-----
From: Lawley, Jane [mailto:[EMAIL PROTECTED]]
Sent: 14 September 2000 05:55
To: [EMAIL PROTECTED]
Subject: MI select by color attribute


hi,

hope someone can help me with selecting only certain polygons within a layer
based on their colour attribute?

cheers, jane
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


IMPORTANT NOTICE:  This e-mail is confidential.  It must not be read, copies disclosed or used by any person other than the named recipient.  Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.  If you have received this e-mail in error, please contact the sender immediately.


Reply via email to