Listers,
I'm trying to change some text objects so that they don't have a label line.
As there are quite a few text objects I'd thought I could do it in MapBasic
but when I use the alter object clause it doesn't seem to take affect, the
code is:
Fetch First from towns
Do while not EOT(towns)
x_object = towns.obj
alter object towns.obj info OBJ_INFO_TEXTARROW, 0
x_textstyle = objectinfo(towns.obj, OBJ_INFO_TEXTARROW)
Print x_textstyle
Fetch Next from towns
Loop
It loops through the table no problem and actually returns 0 through the
ObjectInfo query but doesn't affect the actual text object.
What am I doing wrong?
Greg Driver
Corporate Data Officer
Ext. 2292
Internet communications are not secure and therefore Surrey Police does not
accept legal responsibility for the contents of this message. This email
and any attachments may be confidential. They may contain privileged
information and are intended for the named addressee (s) only. They must not
be distributed without our consent. If you are not the intended recipient,
please notify us immediately and delete the message and any attachments from
your computer, do not disclose, distribute, or retain this email or any part
of it. Unless expressly stated, opinions in this email are those of the
individual sender, and not of Surrey Police. We believe but do not warrant
that this e-mail and any attachments are virus free. You must therefore take
full responsibility for virus checking. Surrey Police reserves the right to
monitor all email communications through their networks.