Hi Scott,

If you are using MapBasic 4.5 or a later version there is a new function,
that does the trick.

Syntax:
CreateText( window_id , x , y , text , angle , anchor , offset )

This function creates text from a centerpoint and you can then set
different values to control
the placement of the textobject, almost like the Labelsetting.

That is you just need the calculate the center between your two points and
of you go.


Merry Christmas to you all.

Best wishes,

Peter
***************************************************************************
*
Peter Moller        [EMAIL PROTECTED]
GIS-Developer       Direct: +45 6313 5008
Kampsax Geoplan     Voice: +45 6313 5013
Rugårdsvej 55       Faximile: +45 6313 5090
DK 5000 Odense C    Web: www.mapinfo.dk
MapInfo Authorized Partner
***************************************************************************
*


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