To select a polyline by colour:

first determine the numeric code for the colour
I can't recall how I did this. Maybe someone else has a good idea here.
But you could create a thematic map with a colour set to the colour you
want and then read the colour number from the mapbasic window at the brush
statement.

then type and execute the following in the mapbasic window for polylines

select * from yourtablename where
str$(styleattr(objectinfo(yourtablename.object,2)4)) = str$(65535)

substitute yourtablename with your table name and substitute 65535 with
your colour code.  BTW 65535 is for light blue

Hope this helps

Brad

At 12:55 PM 9/14/00 +0800, you wrote:
>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]
>
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to