Mappers:

Is there a way to update an object's style programmatically 
without recreating the object?

A snippet of sample code from the MapBasic Help file says:

'set a new "current symbol style" 
sSymbolAttr = "(35,65280,22)"
sCmd = "Set Style Symbol MakeSymbol" + sSymbolAttr
Run Command sCmd

' use an Update statement to create a new Point for 
' every row in the Selection table.  Each new Point
' will use the new "current symbol style" 
Update "Selection"  
  Set obj = CreatePoint(CentroidX(obj),CentroidY(obj))

However, I need to do this for polygons!

When working in MapInfo, I can go to "Options | Region Style"
and modify editable, selected objects in the current window..
but that doesn't seem to work from within MapBasic (?)

I understand maybe I need to loop through each polygon and
modify them using Alter Object?

Thanks in advance for any insight!

Eric



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