|
There aren't any really good ways of
identifying objects in a Layout window. You probably already know how to use
WindowInfo(lyt, WIN_INFO_TABLE) to get the table containing the layout's
objects. Maybe some people have experience using
ROWID in a layout table, but it seems too volatile to me to be worth bothering
with. If you can count on the text object having
a certain string to begin with, or being in a specific place, you can loop
through the table looking for the object that matches the
criteria. But altering a text object has its own
drawbacks, and once you've located the object, you'll find yourself deleting it
and creating a new one. Hope this helps Spencer From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Goodall How do I edit the TextString of a Text Object in a Layout
window via MapBasic? I know you use the Alter Object statement but I don’t
know how to specify the correct Text Object in the Layout window. Greg Goodall Data Management Marketing Project Manager / Senior Systems Analyst 321-725-8081 |
_______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
