>I'm trying to make a single polygon in a single table change colors using
MB
>and I can't seem to find the right MB incantation to make it happen.  All
I
>want is to have the single selected polygon on the top layer of my map
window
>be a distinct color from the other polygons around it. And I'd like it to
be
>the same color every time the program fetches a new single polygon and
puts
>that one on top of the layer control pile.  Does one of the MB experts in
the
>crowd have a minute to brief me on this?

These four lines change the selected object to solid green

  Dim o As Object
  o = Selection.Obj
  Alter Object o Info 3, MakeBrush(2, RGB(0,255,0), RGB(0,0,0))
  Update Selection Set Obj = o

I don't know how your "program fetchs a new single polygon and puts that
one
on top of the layer control pile", but you'll likely need a similar
combination of Alter Object and Update statements.

----------------------------------------------------------------------
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