Hello list,

I found the following sample on www.integrated-mapping.com


Changing Object Attributes
--------------------------
Function ChangeObj(ByVal a As <attribute type you want to change>) As
      <attribute type you want to change>
    a = .... code to change object ....
    ChangeObj = a
  End Function


Command to use:
 Update TABLE Set obj = ChangeObj(NewAttribValue)


Now this all looks nice and fast in MapBasic, but how can I use this when I
am working from a VB OLE environment? 

I can issue the Update table statement, but how and where do I use this
function? Do I create another small MBX to hold the function? Do I initiate
the function once

Anyone have any clue on how I can update the style for all objects in a
table via OLE?

Kind regards,

Milo van der Linden




_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to